For the complete documentation index, see llms.txt. This page is also available as Markdown.

Overview

Base URL, authentication, request conventions, delivery modes, and response envelope shapes for the Web API.

Base URL

https://webapi.oxylabs.io

Authentication

Authorization: Bearer YOUR_API_KEY

Bearer token on every request. Full detail: Authentication.

Request format

Method

POST, unless stated on the endpoint

Content type

application/json

Body

JSON object. Unrecognized fields are rejected with 400

Endpoints

Type
Path

Search

POST /v1/search

Generic scrape

POST /v1/scrape

Dedicated scrapers

POST /v1/scrape/{target}/{collection}

Dedicated scraper list

GET /v1/scrapers

Endpoint parameter list

OPTIONS /v1/{endpoint}

Full endpoint list: Full Endpoint Index.

Delivery modes

/v1/search is synchronous (realtime) only.

Mode
Response
Notes

Synchronous /v1/scrape/...

200, result in body

Holds the connection open

Async (single job) /v1/async/scrape/...

202, poll/callback/storage

Job ID is metadata.request_id

Async (batch) /v1/async/scrape/batch/...

202, array of jobs

query/url becomes a list

Select endpoint support only async jobs. Delivery mode support per endpoint: Full Endpoint Index.

Last updated

Was this helpful?