githubEdit

POST v1/browser/requests

circle-info

For more information on browser requests, see here.

The following endpoint creates a browser request and either runs it synchronously or returns immediately with an ID so you can check it status later using this endpoint.

Create a new browser request

post

This endpoint loads the required URL in our browser and then performs the selected actions.

Authorizations
X-API-KeystringRequired
Body
proxy_locationstring · nullableOptional

The location of the proxy server that your request will be routed through, null means no proxy is used

Default: null
urlstringOptional

The url you want our browsers to visit on your behalf

asyncbooleanOptional

Whether the request should be processed asynchronously, synchronous requests can be maximum 60 seconds long.

Default: true
max_cache_ageinteger · int32 · nullableOptional

The maximum age of a cached result in seconds. 0 means the cache will never be used

Default: 0
Responses
chevron-right
200

The browser request response detailing the state and output of the request

application/json
idstring · nullableOptional

ID of the browser request

urlstring · nullableOptional

URL of the request

proxy_locationstring · nullableOptional

The proxy location of the request.

statestring · nullableOptional

The status of the request

credit_usageinteger · int32 · nullableOptional

The number of credits used by the request

errorstring · nullableOptional

The name of the error type

error_reasonstring · nullableOptional

More detail about the error

actual_urlstring · nullableOptional

The actual URL captured, after any redirects.

http_status_codeinteger · int32Optional

The http status code for the request.

from_cacheboolean · nullableOptional

If this request was served from the cached

started_atstring · date-timeOptional

The time in UTC when the request started.

completed_atstring · date-timeOptional

The time in UTC when the request finished.

running_timestring · timespanOptional

The running time of the request

page_load_timestring · timespanOptional

How long did the page take to fully render.

videostring · nullableOptional

Video url

post
/v1/browser/requests

Last updated