Skip to navigation

Relay a DataForSEO POST

View as Markdown

Passes the call to https://api.dataforseo.com/{path}, rewriting Authorization to the stored HTTP Basic credential. Aimed at the live (instant) class of endpoints; the JSON payload — usually a list of task objects — travels upstream as-is.

Authentication

AuthorizationBearer

Your per-client bearer token — the API key the gateway issued to you. Present it in Authorization: Bearer <token> form. A token that is missing, unknown, or revoked draws a 401. Before the call is sent upstream the token is removed (stripped, or swapped for the upstream’s own credential); it never makes it past the gateway.

Path parameters

pathstringRequired

The path to call on the DataForSEO API, / segments included — all of it after /dataforseo/ is passed to https://api.dataforseo.com/ if the gateway’s allowlist admits it. Admission covers only live (instant) endpoints, e.g. v3/serp/google/organic/live/advanced or v3/on_page/instant_pages; the queued-task flow (task_post/task_get) stays out.

Request

This endpoint expects a list of maps from strings to any.

Response

Whatever the upstream answered, relayed as-is (status, headers, body). Rendered here as JSON; the true shape is the upstream provider’s to define.

Errors

401
Unauthorized Error
404
Not Found Error