Skip to main content
PUT
/
fetch
Fetch a URL (PUT)
curl --request PUT \
  --url https://scraping-api.55-tech.com/fetch \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "method": "<string>",
  "headers": {},
  "body": "<string>",
  "timeout": 123,
  "allow_redirects": true
}
'
{
  "meta": {
    "status": 123,
    "final_url": "<string>",
    "http_version": "<string>",
    "elapsed_ms": 123,
    "blocked": true,
    "headers": {},
    "agent": {
      "id": "<string>"
    },
    "bytes": 123
  },
  "raw": "<string>",
  "raw_json": "<unknown>"
}

Authorizations

X-API-Key
string
header
required

API key passed in the X-API-Key header.

Headers

X-Target-URL
string

Target URL (no encoding needed). Recommended for URLs with query parameters.

X-Geo
string

Target countries as comma-separated ISO codes (e.g. US,DE,AT). Aliases: X-Geo-CC, X-CC, X-Country, X-Geo-Strict.

X-Agent
string

Route through specific agent(s) by slug (e.g. de1) or comma-separated list for random pick (e.g. de1,at5,us3).

X-Timeout
string

Override request timeout in seconds (default: 30).

Body

application/json
method
string

Override HTTP method (e.g. POST, PUT). Defaults to the request's own method.

headers
object

Custom headers to send to the target origin.

body
string

Request body to send to the target origin.

timeout
number

Request timeout in seconds. Default: 30.

allow_redirects
boolean

Follow redirects. Default: true.

Response

Proxied response from origin.

meta
object
raw
string | null

Response body as text (when not JSON).

raw_json
any | null

Parsed JSON body (when response is valid JSON, otherwise null).