String Web Access API
API Reference

Overview

Base URL, authentication, content type, and response headers.

Base URL

https://request.usestring.ai/v1

Authentication

All endpoints require a Bearer API key in the Authorization header. See Authentication.

Authorization: Bearer YOUR_API_KEY

Content type

Request bodies are JSON. Send Content-Type: application/json.

Endpoints

MethodPathDescription
POST/fetchIntelligent web fetch.
POST/searchGoogle search results.
POST/sitemapWhole-site URL discovery (async jobs).
GET/wssRemote CDP browser (WebSocket upgrade).

Response headers

API responses include diagnostic headers when applicable:

HeaderDescription
x-request-duration-msTotal request duration in milliseconds.
x-data-transfer-bytesEstimated response payload plus header bytes before compression.
x-status-codeThe destination's original HTTP status code (raw/markdown/extraction paths).
x-request-idRequest identifier, useful when contacting support.
x-billed-request-typeBilled /fetch classification. See Billed request type.
x-json-schema-appliedjsonSchema requests only. true — the body is the extracted object; false — it is the fallback envelope.
x-json-schema-fallback-reasonPresent only with x-json-schema-applied: false. Why extraction fell back, and whether it was billed.

Billed request type

A billed /fetch response includes x-billed-request-type, which identifies the request strategy and proxy class used for billing:

ValueRequest strategyProxy class
request_standardRequest-basedStandard
request_premiumRequest-basedPremium
browser_standardBrowser-basedStandard
browser_premiumBrowser-basedPremium

Errors & limits

  • Errors — status codes and error response shapes.
  • Rate limits — request rate and 429 handling.