# Bypass Solution

## **How the Solution Works**

To bypass Datadome’s protection, follow these steps:

1. **Load the Challenge Page**
2. **Generate the Challenge Payload (using our API)**
3. **Post the Payload** to retrieve the Datadome cookie.

{% hint style="info" %}
In order to access any of our endpoint you'll need **a valid API Key,** either [join our discord](https://takionapi.tech/discord) for a trial or [puchase a plan](https://takionapi.tech/buy)
{% endhint %}

{% openapi src="/files/jtp5LntNg1BqMDReMpYI" path="/build" method="post" %}
[datadome.yaml](https://2720813823-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fn0x4RrnIfxXvmfh6rJHh%2Fuploads%2FpeudHnGVFxDzjHbzDWwf%2Fdatadome.yaml?alt=media\&token=357b45d9-1709-46a7-abd8-e11bb122223f)
{% endopenapi %}

{% openapi src="/files/jtp5LntNg1BqMDReMpYI" path="/solve" method="post" %}
[datadome.yaml](https://2720813823-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fn0x4RrnIfxXvmfh6rJHh%2Fuploads%2FpeudHnGVFxDzjHbzDWwf%2Fdatadome.yaml?alt=media\&token=357b45d9-1709-46a7-abd8-e11bb122223f)
{% endopenapi %}

## **Important Notices**

* **Payload generation** is fast, typically 0.5 to 2.5 seconds.
* **Cookie retrieval**: While our API generates the payload, you must handle the post request and interactions with the website.
* **HTTP/2 & Headers**: Ensure you use HTTP/2 and a valid set of headers, matching a real browser for successful navigation and payload posting.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.takionapi.tech/datadome/apis.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
