Get an API key Your API keys

All endpoints

All 71 endpoints in one place, generated from the OpenAPI description – so nothing here can differ from it. Each shows the permission a key needs, its parameters, the shape of its answer and the error codes it can return.

The base URL is https://api.virginproxy.com; send your key as Authorization: Bearer vp_live_…. Permissions (requests read manage) are explained in Key permissions.

Overview

EndpointWhat it doesPermission
POST /v1/requestsRun one requestrequests
GET /v1/rawThe target's answer as it isrequests
GET /v1/screenshotScreenshot as an imagerequests
POST /v1/estimateWhat a request may cost, without running itrequests or read
GET /v1/pdfThe page as a PDF documentrequests
POST /v1/batchA few requests in one call, answered togetherrequests
POST /v1/mapThe addresses of a websiterequests
POST /v1/searchSearch the web and get the results as JSONrequests
POST /v1/crawlCrawl a website in the backgroundrequests
GET /v1/jobsYour jobs, newest firstrequests or read
POST /v1/jobsMany requests in the backgroundrequests
GET /v1/jobs/{id}Progress of a jobrequests or read
DELETE /v1/jobs/{id}Cancel a jobrequests
GET /v1/jobs/{id}/resultsResults of a jobrequests or read
GET /v1/jobs/{id}/streamFinished items as they come (NDJSON)requests or read
GET /v1/jobs/{id}/exportAll results of a job as one downloadrequests or read
POST /v1/jobs/{id}/retrySend the failed requests of a job againrequests
GET /v1/requestsYour recent requestsread
GET /v1/requests/{id}One request recordread
GET /v1/requests/{id}/answerThe kept answer of a requestread
GET /v1/limitsWhat you may still do right nowrequests or read
PATCH /v1/account/settingsDaily cap, credit alerts, alert webhookmanage
GET /v1/accountPlan, credits and limitsrequests or read
GET /v1/usageUsage per day (UTC)read
GET /v1/usage/breakdownUsage per target domain, key or tagread
GET /v1/destinationsYour storage destinationsrequests or read
POST /v1/destinationsAdd your own storage (S3-compatible)manage
DELETE /v1/destinations/{id}Delete a storage destinationmanage
POST /v1/destinations/{id}/testWrite a test filemanage
GET /v1/keysYour API keysmanage
POST /v1/keysCreate an API keymanage
PATCH /v1/keys/{id}Change name, credit limit, daily limit or IP list of a keymanage
DELETE /v1/keys/{id}Revoke a keymanage
POST /v1/keys/{id}/rollRoll a key: a new secret, the old one keeps working for a grace periodmanage
GET /v1/webhooksWebhook secret and recent deliveriesmanage
POST /v1/webhooks/secretMake a new webhook secretmanage
GET /v1/webhooks/deliveriesWebhook deliveries, filtered and page by pagemanage
GET /v1/webhooks/deliveries/{id}One delivery with its attemptsmanage
POST /v1/webhooks/testSend a signed test delivery nowmanage
POST /v1/webhooks/deliveries/{id}/redeliverSend a delivery againmanage
GET /v1/presetsYour presetsrequests or read
POST /v1/presetsSave request options under a namemanage
GET /v1/presets/{name}One presetrequests or read
PATCH /v1/presets/{name}Change a presetmanage
DELETE /v1/presets/{name}Delete a presetmanage
GET /v1/schedulesYour schedulesrequests or read
POST /v1/schedulesRun a job or crawl again and againmanage
GET /v1/schedules/{id}One schedulerequests or read
PATCH /v1/schedules/{id}Change, pause or resume a schedulemanage
DELETE /v1/schedules/{id}Delete a schedulemanage
POST /v1/schedules/previewCheck a rhythm and see its next runsrequests or read
GET /v1/schedules/{id}/reportsWhat each run found (monitors)requests or read
POST /v1/schedules/{id}/runStart a run nowmanage
GET /.well-known/ai-catalog.jsonAI catalogNo key needed
GET /mcp/server-cardMCP server cardNo key needed
GET /v1/docsThe complete documentation for your AIAny key
GET /v1/docs/{name}One file of the complete documentationAny key
POST /mcpModel Context Protocol endpointKey or sign-in
GET /.well-known/oauth-authorization-serverAuthorization server metadata (RFC 8414)No key needed
GET /.well-known/oauth-protected-resource/mcpProtected resource metadata of /mcp (RFC 9728)No key needed
POST /oauth/registerRegister an MCP client (RFC 7591)No key needed
POST /oauth/tokenExchange a code or refresh token for tokensNo key needed
POST /oauth/revokeRevoke a token (RFC 7009)No key needed
GET /.well-known/api-catalogAPI catalog (RFC 9727)No key needed
GET /.well-known/security.txtSecurity contact (RFC 9116)No key needed
GET /v1/statusService statusNo key needed
GET /v1/errorsEvery error codeNo key needed
GET /healthzUp or downNo key needed
GET /openapi.jsonThis description (JSON)No key needed
GET /openapi.yamlThis description (YAML)No key needed
GET /Service name and docs linkNo key needed

Requests

Run requests.

POST /v1/requests

Run one requestPermissionrequests

Fetches one URL through our network and returns the answer with our figures. Charged only when the target answered: 1 credit per started MB, +9 with render, +5 per new IP. Waits for the answer (up to about 90 seconds).

ParameterInTypeMeaning
Idempotency-KeyheaderstringOptional. The same key with the same body within 24 hours returns the first (recorded) answer again, marked with Idempotent-Replayed: true, instead of running and charging a second time. A failure that was not charged is not kept: sending it again runs it again.
Request body application/json · RequestBody

Every field is in the parameter reference.

object

Answer 200 OK · RequestResponse
  • idstringrequiredOur id for this request, e.g. req_s0F0gEspheQI7zpoNzwU. Quote it when you contact support.
  • statusintegerrequiredThe target's HTTP status.
  • final_urlstringrequiredThe URL that produced the answer, after redirects.
  • headersobjectrequiredThe target's response headers, names in lower case, each as one string. set-cookie is a list with one entry per cookie.
  • cookieslist of objectEvery cookie the target set, also on the way through redirects, already parsed: name, value, domain, path, secure, http_only, and when present expires, max_age and same_site.
  • redirectslist of objectThe redirects that were followed, in order, each as {"url", "status"}. Empty when there were none.
    • urlstring
    • statusinteger
  • bodystringrequiredThe response body. Text for textual content types, otherwise base64. With render, the page as HTML after its scripts ran.
  • body_encodingstringrequired"utf8" or "base64". Always check it before using body. "utf8" "base64"
  • truncatedbooleantrue when the body was cut at your plan's size limit (2 to 25 MB) or by max_credits.
  • browserstring | nullThe browser the request was sent as.
  • http_versionstring | nullThe HTTP version the target answered with, for example HTTP/2.0.
  • attemptsintegerHow many attempts it took: 1 without retry.
  • renderedbooleanOnly with render: true.
  • formatstringThe format that was applied: raw unless you asked for another one and the answer was HTML or a document. "raw" "markdown" "text" "clean_html"
  • tokensintegerOnly with format markdown, text or clean_html: about how many tokens the body is (estimated, about 4 characters per token in Latin script) – to plan what fits into an AI prompt.
  • documentobjectOnly when the answer was a document (PDF, Word, Excel, PowerPoint, OpenDocument, CSV) and format converted it: {"type", "pages", "truncated", "text"}. text is false for a scanned PDF without a text layer.
    • typestring "pdf" "docx" "xlsx" "csv" "pptx" "odt"
    • pagesinteger
    • truncatedboolean
    • textboolean
  • strategystringOnly with "render": "auto": "http" or "browser", and every try with its status, the reason for the second one and its credits. "http" "browser"
  • strategy_attemptslist of objectOnly with "render": "auto": "http" or "browser", and every try with its status, the reason for the second one and its credits.
    • strategystring "http" "browser"
    • statusinteger | null
    • errorstring
    • reasonstring "no_answer" "blocked_status" "challenge_page" "javascript_shell" "wait_for_missing" "nothing_extracted"
    • creditsinteger
  • redactedobjectOnly with redact: how many of each kind were blacked out, e.g. {"email": 2}.
  • auto_extractedobject | nullOnly with auto_extract: {"type", "data", "sources", "confidence"}, or null when the page has no such record.
    • typestring
    • dataobject
    • sourceslist of string
    • confidencenumber
  • tracelist of objectOnly with render.trace: one entry per step and the end, each {"step", "action", "at_ms", "url", "screenshot", "console"} (JPEG as base64).
    • stepinteger | null
    • actionstring
    • at_msinteger
    • urlstring
    • screenshotstringJPEG as base64.
    • consolelist of object
      • levelstring
      • textstring
  • parsedobjectOnly with parse: the keys you asked for.
  • extractedobjectOnly with extract: your fields.
  • tagstringOnly when you sent them: returned unchanged.
  • echoanyOnly when you sent them: returned unchanged.
  • presetstringOnly with preset: the preset that was applied.
  • cachedtrueOnly for an answer from the cache: true, when it was fetched and until when it is kept. id is the request that fetched it; cost.credits is 0.
  • cached_atstringOnly for an answer from the cache: true, when it was fetched and until when it is kept. id is the request that fetched it; cost.credits is 0.
  • cache_expires_atstringOnly for an answer from the cache: true, when it was fetched and until when it is kept. id is the request that fetched it; cost.credits is 0.
  • changeobjectOnly with track_changes: {"status": "new"|"same"|"changed", "previous_request", "previous_at"}, with diff also {"added", "removed", "added_count", "removed_count", "truncated"}.
    • statusstring "new" "same" "changed" "unknown"
    • previous_requeststring
    • previous_atstring
    • diffobject | null
      • addedlist of string
      • removedlist of string
      • added_countinteger
      • removed_countinteger
      • truncatedboolean
  • screenshotstring | nullOnly with render: the visible part of the page as a base64 PNG when you asked for screenshot, otherwise null.
  • duration_msintegerrequiredTime from our network starting the request to the last byte, all attempts included.
  • exitobjectrequired
    • ipstring | nullThe public IP the target saw.
    • countrystringISO country code of the exit IP.
  • bytesobjectrequired
    • upintegerBytes sent and received for the answer you got, including TLS and headers. That is why a 33-byte body shows about 4 kB. With render, everything the browser loaded for the page.
    • downintegerBytes sent and received for the answer you got, including TLS and headers. That is why a 33-byte body shows about 4 kB. With render, everything the browser loaded for the page.
  • costobjectrequired
    • creditsintegerCredits charged for this request.
    • credits_usedintegerYour total for the period after this request, and what your plan includes.
    • credits_includedintegerYour total for the period after this request, and what your plan includes.
  • screenshot_typestring | nullOnly with render: the image type of screenshot (image/png, image/jpeg or image/webp).
  • pdfstringOnly with render.pdf: the page as a base64 PDF.
  • stepslist of objectOnly with render.actions: one entry per step, with its outcome (and value for evaluate).
  • capturedlist of objectOnly with render.capture: matching background requests of the page with their bodies.
  • testtrueOnly with a test key (vp_test_…): a sample answer; nothing was fetched or charged. See [Test mode](https://docs.virginproxy.com/test-mode/).

How to use it

GET /v1/raw

The target's answer as it isPermissionrequests

Like POST /v1/requests, but answers with the target's status, content type and body itself; our figures travel in X-VP-* headers. Headers for the target are sent as X-VP-Header-<Name>.

ParameterInTypeMeaning
url requiredquerystringAbsolute http(s) URL.
sessionquerystringSession name.
fresh_ipquerystringNew IP first (5 credits): true or false (also 1 or 0).
ip_versionquerystringIP version. One of 4, 6, auto.
timeout_msqueryintegerTime limit of one attempt.
browserquerystringBrowser profile. One of chrome, chrome_mac, chrome_android, edge, firefox, safari, safari_ios, none.
localequerystringVisitor language.
follow_redirectsquerystringtrue or false (also 1 or 0)
max_redirectsqueryintegerRedirects at most. 0 to 10.
cookie_jarquerystringtrue or false (also 1 or 0)
http_versionquerystringHTTP version. One of auto, 1.1.
insecurequerystringtrue or false (also 1 or 0)
formatquerystringConvert an HTML answer. One of raw, markdown, text, clean_html.
main_contentquerystringtrue or false (also 1 or 0)
tagquerystringTag.
max_creditsqueryintegerCost cap. 1 to 1000.
renderquerystringRender in a browser: true or false (also 1 or 0).
timezonequerystringWith render: IANA time zone.
wait_untilquerystringWith render. One of load, domcontentloaded, networkidle.
Answer 200 The target's answer (any status from 200 to 599 is passed on; 1xx and others arrive as 502 with X-VP-Status).

*/*

  • X-VP-Request-Idheader
  • X-VP-Statusheader
  • X-VP-Creditsheader
  • X-VP-Bytes-Downheader
  • X-VP-Final-URLheader

How to use it

GET /v1/screenshot

Screenshot as an imagePermissionrequests

Loads the page in a browser and answers with the picture itself (PNG, JPEG or WebP). Costs like a rendered request: 10 credits for up to 1 MB loaded, 1 more per further MB. Images and fonts are loaded (unlike render in POST /v1/requests). The target's status is in X-VP-Status. Unknown options are refused.

ParameterInTypeMeaning
url requiredquerystringAbsolute http(s) URL.
full_pagequerystringThe whole page: true or false (also 1 or 0).
selectorquerystringCSS selector of one element instead.
formatquerystringImage type. One of png, jpeg, webp. Default "png".
qualityqueryintegerJPEG/WebP quality (default 80). 1 to 100.
widthqueryintegerViewport width in CSS pixels (default 1366 when height or scale is given, otherwise the browser's own size). 240 to 3840.
heightqueryintegerViewport height. 240 to 4320.
scalequerynumberPixel density (default 1 when width or height is given). 0.5 to 4.
wait_untilquerystringWhen the page counts as loaded. One of load, domcontentloaded, networkidle.
wait_forquerystringCSS selector to wait for.
wait_msqueryintegerExtra wait at the end. 0 to 15000.
scrollqueryintegerScroll to the bottom this many times first. 0 to 20.
browserquerystringBrowser profile (default chrome, a desktop browser). One of chrome, chrome_mac, chrome_android, edge, firefox, safari, safari_ios, none.
localequerystringVisitor language.
timezonequerystringIANA time zone.
color_schemequerystringprefers-color-scheme. One of light, dark.
blockquerystringComma-separated resource types not to load: image, media, font, stylesheet (default none).
sessionquerystringSession name.
fresh_ipquerystringtrue or false (also 1 or 0)
max_creditsqueryintegerCost cap. 10 to 1000.
tagquerystringTag.
Answer 200 The image.

image/png, image/jpeg, image/webp

  • X-VP-Request-Idheader
  • X-VP-Creditsheader
  • X-VP-Statusheader
  • X-VP-Final-URLheader

How to use it

POST /v1/estimate

What a request may cost, without running itPermissionrequests or read

Checks a request body exactly like POST /v1/requests (or a job body with requests) and returns the least and the most it can cost with your plan. Runs nothing and charges nothing. Up to 120 per minute.

Request body application/json
  • urlstringrequiredAbsolute http or https URL, up to 8,000 characters. Credentials inside the URL are rejected.
  • methodstringGET, POST, PUT, PATCH, DELETE, HEAD or OPTIONS. With render only GET. "GET" "POST" "PUT" "PATCH" "DELETE" "HEAD" "OPTIONS"
  • paramsobjectQuery parameters added to the URL. Values are strings, numbers, booleans or lists of them. At most 500 values.
  • browserstringWhich browser the request looks like: chrome, chrome_mac, chrome_android, edge, firefox, safari, safari_ios or none. With render the default is chrome_android. "chrome" "chrome_mac" "chrome_android" "edge" "firefox" "safari" "safari_ios" "none"
  • localestringLanguage of the visitor. Sets Accept-Language, and the browser language when rendering.
  • headersobjectHeaders for the target, at most 100. They replace the browser's headers of the same name; an empty value leaves that header out.
  • cookiesobject | list of object{"name": "value"} or a list of {"name", "value", "domain"?, "path"?}. At most 200.
  • cookie_jarbooleanOnly with session: remember cookies the site sets for the next requests of the session.
  • jsonanyBody sent as JSON. Sets Content-Type: application/json unless you send your own.
  • formobjectBody sent as an HTML form (application/x-www-form-urlencoded).
  • bodystringBody sent exactly as given, up to 5 MB. Set your own Content-Type.
  • body_encodingstring"base64" when body is base64-encoded binary data. "utf8" "base64"
  • sessionstringA name of your choice. Requests with the same name leave through the same IP for up to 10 minutes and share their cookies.
  • fresh_ipbooleanGet a new IP address before the request. 5 extra credits. Not with session.
  • ip_versionstring"4", "6" or "auto". "4" "6" "auto"
  • follow_redirectsbooleanFollow redirects. false returns the redirect response itself.
  • max_redirectsinteger0 to 10. More redirects end with too_many_redirects.
  • timeout_msintegerHow long one attempt may take, at least 1000, at most your plan's timeout (30 to 120 seconds).
  • retryobjectTry again before answering when the target refuses or fails. {} uses all defaults.
    • timesintegerHow many more attempts at most: 0 to 3.
    • onlist of integer | stringStatuses 300–599 and the errors timeout, connection_failed, target_unreachable, tls_error, text_match, selector_missing. At most 20.
    • fresh_ipbooleanA new IP before each further attempt (5 credits each).
    • if_textlist of anyUp to 10 texts (each up to 200 characters, case ignored). An answer whose body contains one of them is tried again.
    • if_missingstringA CSS selector. An HTML answer in which it finds nothing is tried again.
  • renderboolean | object | "auto"Load the page in a real browser and return it after its scripts ran. 9 extra credits. "auto": first without a browser, with it only when the page needs it – the browser part is charged only then.
  • render_optionsobjectOnly with "render": "auto": the browser settings for the second try (the options of render, without screenshot, PDF, steps, capture).
  • formatstringraw, markdown, text or clean_html. Converts an HTML answer before it is returned. "raw" "markdown" "text" "clean_html"
  • main_contentbooleanKeep only the main content of the page (without navigation, header, footer, sidebars and forms) before converting.
  • format_optionsobjectWith format: include_selector (keep only this part), exclude_selector (leave this out), images and links (false drops them), max_pages (documents, 1–500, default 100).
  • redactlist of string | trueBlack out personal data in the text you get: email, phone, iban, card, ip; true for all. Counted in redacted.
  • auto_extractstringRead a standard record without selectors: product, article, job, review_list, recipe, event, organization. Result in auto_extracted. "product" "article" "job" "review_list" "recipe" "event" "organization"
  • parselist of string | trueStandard records product, article, organization, breadcrumbs come from the page's structured data. Read out metadata, links, images, headings, emails, phones, tables, json_ld; true for all. Result in parsed.
  • extractobjectUp to 50 named fields read from the answer with CSS, XPath or JSON paths. Result in extracted.
  • http_versionstring"auto" or "1.1". Only without render. "auto" "1.1"
  • insecurebooleanAccept invalid TLS certificates of the target.
  • max_creditsinteger1 to 1,000. The request never costs more; the answer is cut to fit.
  • tagstring1 to 64 characters A–Z a–z 0–9 _ . : / -. Stored with the request, returned in the answer, filterable.
  • echoanyUp to 2 KB of your own data, returned unchanged as echo. Useful to match results to your records.
  • cachetrue | objectKeep the answer and give it again to the same request within max_age_s (60 to 604,800 seconds; true = one hour): free, at once, marked "cached": true. Off unless you send it.
  • track_changestrue | objectCompare with your last request of the same page: change.status is new, same or changed. {"on": "extracted"} compares what was read, {"diff": true} names the changed lines.
  • presetstringUse the options saved under this name (POST /v1/presets); options you send win.
Answer 200 OK · Estimate
  • creditsobject
    • minintegerWhen the target answers with up to 1 MB.
    • maxintegerThe most the request may cost (size limit, browser traffic, retries with a new IP).
  • partsobject
  • factornumberCredit factor of the target (1 for most).
  • max_response_bytesinteger
  • requestsintegerOnly for a job body.
  • itemslist of object
  • credits_remaininginteger
  • fitsbooleanWhether the worst case fits into the credits left (otherwise the request runs with a cost cap of what is left).
  • chargedfalse

How to use it

GET /v1/pdf

The page as a PDF documentPermissionrequests

Loads the page in a browser and answers with a PDF of it. Costs like a rendered request: 10 credits for up to 1 MB loaded, 1 more per further MB. Images and fonts are loaded. The target's status is in X-VP-Status. Unknown options are refused.

ParameterInTypeMeaning
url requiredquerystringAbsolute http(s) URL.
wait_untilquerystringWhen the page counts as loaded. One of load, domcontentloaded, networkidle.
wait_forquerystringCSS selector to wait for.
wait_msqueryintegerExtra wait at the end. 0 to 15000.
scrollqueryintegerScroll to the bottom this many times first (loads lazy content). 0 to 20.
browserquerystringBrowser profile (default chrome, a desktop browser). One of chrome, chrome_mac, chrome_android, edge, firefox, safari, safari_ios, none.
localequerystringVisitor language.
timezonequerystringIANA time zone.
color_schemequerystringprefers-color-scheme. One of light, dark.
blockquerystringComma-separated resource types not to load: image, media, font, stylesheet (default none).
sessionquerystringSession name.
fresh_ipquerystringtrue or false (also 1 or 0)
max_creditsqueryintegerCost cap. 10 to 1000.
tagquerystringTag.
Answer 200 The PDF.

application/pdf

  • X-VP-Request-Idheader
  • X-VP-Creditsheader
  • X-VP-Statusheader
  • X-VP-Final-URLheader

How to use it

POST /v1/batch

A few requests in one call, answered togetherPermissionrequests

1 to your plan's batch limit (free 3, starter 10, growth 20, scale 25) requests, run at the same time up to your plan's parallel limit and answered together within about 85 seconds. Each request is an ordinary request (same checks, charges and request log); one that fails does not stop the others. Send requests (full request bodies) or urls with the options for every URL in request. A request that could not start in time, or would exceed the batch's max_credits, is skipped and not charged (batch_item_skipped). No Idempotency-Key: for more requests, more time or kept results use POST /v1/jobs.

Request body application/json · BatchRequest
  • requestslist of objectRequest bodies, as for POST /v1/requests. Either this or urls.every field in the parameter reference
  • urlslist of stringAddresses; each is sent with the options in request. Either this or requests.
  • requestobjectWith urls: the options for every URL, as for POST /v1/requests without url.
  • max_creditsintegerBound for all requests of the batch together. A request that would exceed what is left is skipped (not charged).
  • tagstringTag for requests without their own.
Answer 200 OK · BatchResponse
  • requestsinteger
  • succeededinteger
  • failedinteger
  • skippedinteger
  • itemslist of objectOne entry per request, in the order sent.
    • indexinteger
    • statusstring "succeeded" "failed" "skipped"
    • responseobjectthe answer of POST /v1/requests
    • request_idstring | nullFor a failed request that was run.
    • errorobject
      • codestring
      • messagestring
      • chargedboolean
      • creditsinteger
  • costobject
    • creditsintegerAll requests of the batch together.
    • credits_usedinteger
    • credits_includedinteger
  • duration_msinteger
  • tagstring
  • testtrue

How to use it

Discovery

Find the addresses of a site.

POST /v1/map

The addresses of a websitePermissionrequests

Reads the page's links and the site's sitemaps (from robots.txt, otherwise /sitemap.xml; sitemap indexes and .gz files included) and returns the addresses of the same site, each once. Every page and file read is an ordinary request in your log: usually 1 credit each; at most the page, robots.txt and 5 sitemap files of up to 10 credits each. max_credits bounds the whole call.

Request body application/json · MapRequest
  • urlstringrequiredA page of the site, usually its home page.
  • sitemapstringAlso read the sitemaps, skip them, or read only them. "include" "skip" "only"
  • include_subdomainsboolean
  • searchstringKeep only addresses (or link texts) containing this text, case ignored.
  • limitinteger
  • renderbooleanLoad the page in a browser first (10 credits or more).
  • robotsstringrespect leaves out addresses robots.txt disallows, report marks them with disallowed: true. "ignore" "respect" "report"
  • browserstring "chrome" "chrome_mac" "chrome_android" "edge" "firefox" "safari" "safari_ios" "none"
  • localestring
  • sessionstring
  • max_creditsintegerBound for all reads of this call together.
  • tagstring
Answer 200 OK · MapResponse
  • urlstring
  • hoststringThe host after redirects.
  • linkslist of object
    • urlstring
    • textstringLink text (page links only).
    • sourcestring "page" "sitemap"
    • disallowedtrueWith robots: report: robots.txt disallows it.
  • robotsobjectOnly with robots.
    • modestring
    • readboolean
    • stoppedstring
  • totalintegerAddresses found (after search), before limit.
  • truncatedboolean
  • sitemapsobject
    • readinteger
    • stoppedstringWhy reading sitemaps stopped early, if it did.
  • requestslist of objectEvery read of this call; each is in your request log.
    • idstring
    • urlstring
    • statusinteger | null
    • errorstring
    • creditsinteger
  • costobject
    • creditsintegerSum of all reads.
    • credits_usedinteger | null
    • credits_includedinteger
  • tagstring

How to use it

Search the web and get the results as JSONPermissionrequests

Searches DuckDuckGo and returns the results (position, title, address, snippet), and where the engine shows them ads, related searches and questions. include_domains and exclude_domains filter the results; scrape also fetches every result page with the options you give (for example Markdown of the main content). Each result page of the engine and each fetched result is an ordinary request in your log (usually 1 credit each); up to 5 result pages are read to reach limit. max_credits bounds the whole call.

Request body application/json · SearchRequest
  • querystringrequiredThe search text; operators of the engine (quotes, site:, -word) work.
  • enginestring "duckduckgo"
  • limitinteger
  • languagestringLanguage of the results, e.g. en, de or pt-BR.
  • countrystringThe country the results are for (a search setting of the engine, not the address the request comes from).
  • time_rangestringOnly results from this period. "day" "week" "month" "year"
  • include_domainslist of string
  • exclude_domainslist of string
  • scrapeboolean | objecttrue: fetch every result as Markdown of its main content; an object: with these options.
  • max_creditsintegerBound for the whole call, fetched results included.
  • tagstring
Answer 200 OK · SearchResponse
  • querystring
  • enginestring "duckduckgo"
  • resultslist of object
    • positioninteger
    • titlestring
    • urlstring
    • display_urlstringThe address as the engine shows it, when it does.
    • snippetstring
    • datestring
    • pageobjectOnly with scrape: the fetched page (body, body_encoding, format, tokens, status, final_url, extracted, parsed, auto_extracted, credits), or error with its code.
  • adslist of object
  • relatedlist of string
  • questionslist of string
  • creditsintegerSum of all requests of this call.
  • requestslist of stringIds of every request of this call; each is in your request log.
  • tagstring
  • testtrue

Jobs

Many requests and crawls in the background.

POST /v1/crawl

Crawl a website in the backgroundPermissionrequests

Starts a job that reads the start page and follows links of the same site, breadth first, up to max_depth links away and max_pages pages (your plan's crawl limit: 10, 100, 500, 1000). Each page is an ordinary request with the options in request. Progress, results (24 hours), cancel and webhooks work as for every job.

ParameterInTypeMeaning
Idempotency-KeyheaderstringThe same key within 24 hours returns the same crawl instead of starting a second one.
Request body application/json · CrawlRequest
  • urlstringrequiredThe start page.
  • max_pagesintegerPages at most; up to your plan's crawl limit (free 10, starter 100, growth 500, scale 1000). Default 100 or the plan limit if lower.
  • only_changedbooleanOnly pages that changed since they were last read (best in a schedule): unchanged pages are left out of results, exports, the stream, deliveries and item webhooks. Each page is still read and charged.
  • deliveryobjectAs for jobs: write the results into your own storage when the crawl ends.
  • max_depthintegerLinks away from the start page (0 = only the start page).
  • include_pathslist of stringFollow only paths matching one of these patterns (* = any characters except /, = anything), e.g. /blog/.
  • exclude_pathslist of stringNever follow paths matching one of these patterns.
  • include_subdomainsbooleanAlso follow links to subdomains of the start host.
  • ignore_querybooleanTreat addresses that differ only in the query string as the same page.
  • requestobjectOptions for every page, as for POST /v1/requests, without url, method and body. Links are read for the crawl in any case; they are in parsed.links only if you ask for them.
  • webhookobject{"url", "events"}: where to send the results.
    • urlstringA public https:// address.
    • eventslist of stringitem (each finished request), item.succeeded, item.failed, item.changed (only pages that changed, with track_changes) and/or done (the whole job).
    • include_bodybooleanfalse: item events carry the figures and id, not the page – fetch it from the results.
    • metadataobjectUp to 1 KB of your own data, sent back in every webhook call of the job.
  • tagstring
  • max_creditsintegerCost cap of the whole crawl: once it has used that many credits, pages not started end as job_budget_reached.
  • robotsstringrespect: pages the site's robots.txt disallows are not read (reading robots.txt costs 1 credit). "ignore" "respect"
Answer 200 Replayed: the crawl started earlier with the same Idempotency-Key. · Job
  • idstring
  • statusstring "queued" "running" "done" "canceled" "expired"
  • totalintegerRequests in the job (a crawl grows as it finds pages).
  • succeededinteger
  • failedinteger
  • canceledinteger
  • pendinginteger
  • creditsinteger
  • tagstring | null
  • webhookobject | null
    • urlstring
    • eventslist of string
    • include_bodyfalse
    • metadataobject
  • budgetobjectOnly with max_credits: the cap, what was used and what is left.
    • max_creditsinteger
    • spentinteger
    • leftinteger
  • created_atstring
  • started_atstring | null
  • finished_atstring | null
  • expires_atstring | nullResults are deleted 24 hours after the end.
  • last_progress_atstring | null
  • kindstringOnly for crawls. "crawl"
  • deliveryobjectOnly with delivery: where the results go and how it went.
    • destinationstring
    • formatstring "ndjson" "json" "csv"
    • pathstring
    • statusstring "pending" "delivered" "failed"
    • keystring
    • bytesinteger
    • partsintegerResults above 90 MB are written as numbered parts.
    • keyslist of string
    • errorstring
  • crawlobjectOnly for crawls: the settings.
    • urlstring
    • max_pagesinteger
    • max_depthinteger
    • include_pathslist of string
    • exclude_pathslist of string
    • include_subdomainsboolean
    • ignore_queryboolean
Answer 202 The crawl was accepted. · Job
  • idstring
  • statusstring "queued" "running" "done" "canceled" "expired"
  • totalintegerRequests in the job (a crawl grows as it finds pages).
  • succeededinteger
  • failedinteger
  • canceledinteger
  • pendinginteger
  • creditsinteger
  • tagstring | null
  • webhookobject | null
    • urlstring
    • eventslist of string
    • include_bodyfalse
    • metadataobject
  • budgetobjectOnly with max_credits: the cap, what was used and what is left.
    • max_creditsinteger
    • spentinteger
    • leftinteger
  • created_atstring
  • started_atstring | null
  • finished_atstring | null
  • expires_atstring | nullResults are deleted 24 hours after the end.
  • last_progress_atstring | null
  • kindstringOnly for crawls. "crawl"
  • deliveryobjectOnly with delivery: where the results go and how it went.
    • destinationstring
    • formatstring "ndjson" "json" "csv"
    • pathstring
    • statusstring "pending" "delivered" "failed"
    • keystring
    • bytesinteger
    • partsintegerResults above 90 MB are written as numbered parts.
    • keyslist of string
    • errorstring
  • crawlobjectOnly for crawls: the settings.
    • urlstring
    • max_pagesinteger
    • max_depthinteger
    • include_pathslist of string
    • exclude_pathslist of string
    • include_subdomainsboolean
    • ignore_queryboolean

How to use it

GET /v1/jobs

Your jobs, newest firstPermissionrequests or read

ParameterInTypeMeaning
limitqueryintegerJobs per page. Default 20. 1 to 100.
beforequerystringContinue after this job id.
Answer 200 OK
  • itemslist of object
    • idstring
    • statusstring "queued" "running" "done" "canceled" "expired"
    • totalintegerRequests in the job (a crawl grows as it finds pages).
    • succeededinteger
    • failedinteger
    • canceledinteger
    • pendinginteger
    • creditsinteger
    • tagstring | null
    • webhookobject | null
      • urlstring
      • eventslist of string
      • include_bodyfalse
      • metadataobject
    • budgetobjectOnly with max_credits: the cap, what was used and what is left.
      • max_creditsinteger
      • spentinteger
      • leftinteger
    • created_atstring
    • started_atstring | null
    • finished_atstring | null
    • expires_atstring | nullResults are deleted 24 hours after the end.
    • last_progress_atstring | null
    • kindstringOnly for crawls. "crawl"
    • deliveryobjectOnly with delivery: where the results go and how it went.
      • destinationstring
      • formatstring "ndjson" "json" "csv"
      • pathstring
      • statusstring "pending" "delivered" "failed"
      • keystring
      • bytesinteger
      • partsintegerResults above 90 MB are written as numbered parts.
      • keyslist of string
      • errorstring
    • crawlobjectOnly for crawls: the settings.
      • urlstring
      • max_pagesinteger
      • max_depthinteger
      • include_pathslist of string
      • exclude_pathslist of string
      • include_subdomainsboolean
      • ignore_queryboolean
  • nextstring | null

How to use it

POST /v1/jobs

Many requests in the backgroundPermissionrequests

1 to your plan's limit (10, 1,000, 10,000, 50,000) requests per job, at most 20 open jobs. Results are kept 24 hours after the job ended. A long list can be sent as NDJSON (Content-Type: application/x-ndjson, up to 32 MB): one request per line, and an optional first line {"job": {…}} with the job's own options (webhook, tag, max_credits, delivery).

ParameterInTypeMeaning
Idempotency-KeyheaderstringThe same key within 24 hours returns the same job instead of creating a second one.
Request body application/json · JobRequest
  • requestslist of objectThe requests of the job: 1 to your plan's limit (10, 100, 500 or 1,000). Each is a request body as for POST /v1/requests.every field in the parameter reference
  • requestobjectA single request instead of requests.every field in the parameter reference
  • urlslist of anyAddresses instead of requests; each is sent with the options in defaults.
  • defaultsobjectWith urls: the options for every address (as for POST /v1/requests, without url).
  • max_creditsintegerCost cap of the whole job: once it used that many credits, requests not started end as job_budget_reached.
  • webhookobject{"url", "events"}: where to send the results.
    • urlstringA public https:// address.
    • eventslist of stringitem (each finished request), item.succeeded, item.failed, item.changed (only pages that changed, with track_changes) and/or done (the whole job).
    • include_bodybooleanfalse: item events carry the figures and id, not the page – fetch it from the results.
    • metadataobjectUp to 1 KB of your own data, sent back in every webhook call of the job.
  • deliveryobjectWrite the results into your own storage when the job ends: {"destination": "dst_…", "format": "ndjson"|"json"|"csv", "path": "{date}/{job_id}.ndjson"}.
  • tagstringTag for the job; requests without their own tag get it.
Answer 200 Replayed: the job created earlier with the same Idempotency-Key. · Job
  • idstring
  • statusstring "queued" "running" "done" "canceled" "expired"
  • totalintegerRequests in the job (a crawl grows as it finds pages).
  • succeededinteger
  • failedinteger
  • canceledinteger
  • pendinginteger
  • creditsinteger
  • tagstring | null
  • webhookobject | null
    • urlstring
    • eventslist of string
    • include_bodyfalse
    • metadataobject
  • budgetobjectOnly with max_credits: the cap, what was used and what is left.
    • max_creditsinteger
    • spentinteger
    • leftinteger
  • created_atstring
  • started_atstring | null
  • finished_atstring | null
  • expires_atstring | nullResults are deleted 24 hours after the end.
  • last_progress_atstring | null
  • kindstringOnly for crawls. "crawl"
  • deliveryobjectOnly with delivery: where the results go and how it went.
    • destinationstring
    • formatstring "ndjson" "json" "csv"
    • pathstring
    • statusstring "pending" "delivered" "failed"
    • keystring
    • bytesinteger
    • partsintegerResults above 90 MB are written as numbered parts.
    • keyslist of string
    • errorstring
  • crawlobjectOnly for crawls: the settings.
    • urlstring
    • max_pagesinteger
    • max_depthinteger
    • include_pathslist of string
    • exclude_pathslist of string
    • include_subdomainsboolean
    • ignore_queryboolean
Answer 202 The job was accepted. · Job
  • idstring
  • statusstring "queued" "running" "done" "canceled" "expired"
  • totalintegerRequests in the job (a crawl grows as it finds pages).
  • succeededinteger
  • failedinteger
  • canceledinteger
  • pendinginteger
  • creditsinteger
  • tagstring | null
  • webhookobject | null
    • urlstring
    • eventslist of string
    • include_bodyfalse
    • metadataobject
  • budgetobjectOnly with max_credits: the cap, what was used and what is left.
    • max_creditsinteger
    • spentinteger
    • leftinteger
  • created_atstring
  • started_atstring | null
  • finished_atstring | null
  • expires_atstring | nullResults are deleted 24 hours after the end.
  • last_progress_atstring | null
  • kindstringOnly for crawls. "crawl"
  • deliveryobjectOnly with delivery: where the results go and how it went.
    • destinationstring
    • formatstring "ndjson" "json" "csv"
    • pathstring
    • statusstring "pending" "delivered" "failed"
    • keystring
    • bytesinteger
    • partsintegerResults above 90 MB are written as numbered parts.
    • keyslist of string
    • errorstring
  • crawlobjectOnly for crawls: the settings.
    • urlstring
    • max_pagesinteger
    • max_depthinteger
    • include_pathslist of string
    • exclude_pathslist of string
    • include_subdomainsboolean
    • ignore_queryboolean

How to use it

GET /v1/jobs/{id}

Progress of a jobPermissionrequests or read

With ?wait=1…30 the answer waits until the job moves on (an item finishes, the status changes) or the seconds pass – instead of polling every second. Up to 5 waiting calls per account.

ParameterInTypeMeaning
id requiredpathstringThe job id.
waitqueryintegerWait up to this many seconds for a change. 1 to 30.
Answer 200 OK · Job
  • idstring
  • statusstring "queued" "running" "done" "canceled" "expired"
  • totalintegerRequests in the job (a crawl grows as it finds pages).
  • succeededinteger
  • failedinteger
  • canceledinteger
  • pendinginteger
  • creditsinteger
  • tagstring | null
  • webhookobject | null
    • urlstring
    • eventslist of string
    • include_bodyfalse
    • metadataobject
  • budgetobjectOnly with max_credits: the cap, what was used and what is left.
    • max_creditsinteger
    • spentinteger
    • leftinteger
  • created_atstring
  • started_atstring | null
  • finished_atstring | null
  • expires_atstring | nullResults are deleted 24 hours after the end.
  • last_progress_atstring | null
  • kindstringOnly for crawls. "crawl"
  • deliveryobjectOnly with delivery: where the results go and how it went.
    • destinationstring
    • formatstring "ndjson" "json" "csv"
    • pathstring
    • statusstring "pending" "delivered" "failed"
    • keystring
    • bytesinteger
    • partsintegerResults above 90 MB are written as numbered parts.
    • keyslist of string
    • errorstring
  • crawlobjectOnly for crawls: the settings.
    • urlstring
    • max_pagesinteger
    • max_depthinteger
    • include_pathslist of string
    • exclude_pathslist of string
    • include_subdomainsboolean
    • ignore_queryboolean

How to use it

DELETE /v1/jobs/{id}

Cancel a jobPermissionrequests

Requests that have not started are canceled (not charged); running ones finish.

ParameterInTypeMeaning
id requiredpathstringThe job id.
Answer 200 OK · Job
  • idstring
  • statusstring "queued" "running" "done" "canceled" "expired"
  • totalintegerRequests in the job (a crawl grows as it finds pages).
  • succeededinteger
  • failedinteger
  • canceledinteger
  • pendinginteger
  • creditsinteger
  • tagstring | null
  • webhookobject | null
    • urlstring
    • eventslist of string
    • include_bodyfalse
    • metadataobject
  • budgetobjectOnly with max_credits: the cap, what was used and what is left.
    • max_creditsinteger
    • spentinteger
    • leftinteger
  • created_atstring
  • started_atstring | null
  • finished_atstring | null
  • expires_atstring | nullResults are deleted 24 hours after the end.
  • last_progress_atstring | null
  • kindstringOnly for crawls. "crawl"
  • deliveryobjectOnly with delivery: where the results go and how it went.
    • destinationstring
    • formatstring "ndjson" "json" "csv"
    • pathstring
    • statusstring "pending" "delivered" "failed"
    • keystring
    • bytesinteger
    • partsintegerResults above 90 MB are written as numbered parts.
    • keyslist of string
    • errorstring
  • crawlobjectOnly for crawls: the settings.
    • urlstring
    • max_pagesinteger
    • max_depthinteger
    • include_pathslist of string
    • exclude_pathslist of string
    • include_subdomainsboolean
    • ignore_queryboolean

How to use it

GET /v1/jobs/{id}/results

Results of a jobPermissionrequests or read

ParameterInTypeMeaning
id requiredpathstringThe job id.
offsetqueryintegerFirst index. Default 0. 0 to ….
limitqueryintegerItems per page. Default 100. 1 to 100.
statusquerystringOnly items with this status. One of queued, running, succeeded, failed, canceled.
Answer 200 OK · JobResults
  • jobobject
    • idstring
    • statusstring "queued" "running" "done" "canceled" "expired"
    • totalintegerRequests in the job (a crawl grows as it finds pages).
    • succeededinteger
    • failedinteger
    • canceledinteger
    • pendinginteger
    • creditsinteger
    • tagstring | null
    • webhookobject | null
      • urlstring
      • eventslist of string
      • include_bodyfalse
      • metadataobject
    • budgetobjectOnly with max_credits: the cap, what was used and what is left.
      • max_creditsinteger
      • spentinteger
      • leftinteger
    • created_atstring
    • started_atstring | null
    • finished_atstring | null
    • expires_atstring | nullResults are deleted 24 hours after the end.
    • last_progress_atstring | null
    • kindstringOnly for crawls. "crawl"
    • deliveryobjectOnly with delivery: where the results go and how it went.
      • destinationstring
      • formatstring "ndjson" "json" "csv"
      • pathstring
      • statusstring "pending" "delivered" "failed"
      • keystring
      • bytesinteger
      • partsintegerResults above 90 MB are written as numbered parts.
      • keyslist of string
      • errorstring
    • crawlobjectOnly for crawls: the settings.
      • urlstring
      • max_pagesinteger
      • max_depthinteger
      • include_pathslist of string
      • exclude_pathslist of string
      • include_subdomainsboolean
      • ignore_queryboolean
  • itemslist of object
    • indexinteger
    • statusstring
    • urlstring | null
    • depthintegerOnly for crawls: links away from the start page.
    • request_idstring | null
    • creditsinteger
    • finished_atstring | null
    • responseobjectthe answer of POST /v1/requests
    • errorobject
      • codestring
      • messagestring
  • next_offsetinteger | null

How to use it

GET /v1/jobs/{id}/stream

Finished items as they come (NDJSON)Permissionrequests or read

Keeps the connection open and sends one line per finished item while the job runs – {"type": "item", "index", "status", "response" | "error", …} – starting with {"type": "start", "job"} and ending with {"type": "end", "job"}. A {"type": "ping"} line comes every 25 seconds without news. After 15 minutes a {"type": "reconnect", "after"} line ends the call: call again with ?after= that value. Crawls with only_changed leave out unchanged pages.

ParameterInTypeMeaning
id requiredpathstringThe job id.
afterqueryintegerOnly items after this index (from a reconnect line or your last item).
include_bodyquerystringInclude page bodies, screenshots and PDFs (default true). One of true, false, 1, 0.
Answer 200 The stream.

application/x-ndjson

GET /v1/jobs/{id}/export

All results of a job as one downloadPermissionrequests or read

The results streamed as NDJSON (one item per line, as in GET /v1/jobs/{id}/results), CSV (one row per item; extracted and parsed as JSON text) or JSON ({"job": …, "items": [ … ]}). Works while the job runs (what has finished so far) and up to 24 hours after it ended.

ParameterInTypeMeaning
id requiredpathstringThe job id.
formatquerystringFile format. One of ndjson, csv, json. Default "ndjson".
statusquerystringOnly items with this status. One of queued, running, succeeded, failed, canceled.
include_bodyquerystringInclude page bodies, screenshots and PDFs (default true for ndjson and json, false for csv). One of true, false, 1, 0.
Answer 200 The file (Content-Disposition: attachment). · JobResults
  • jobobject
    • idstring
    • statusstring "queued" "running" "done" "canceled" "expired"
    • totalintegerRequests in the job (a crawl grows as it finds pages).
    • succeededinteger
    • failedinteger
    • canceledinteger
    • pendinginteger
    • creditsinteger
    • tagstring | null
    • webhookobject | null
      • urlstring
      • eventslist of string
      • include_bodyfalse
      • metadataobject
    • budgetobjectOnly with max_credits: the cap, what was used and what is left.
      • max_creditsinteger
      • spentinteger
      • leftinteger
    • created_atstring
    • started_atstring | null
    • finished_atstring | null
    • expires_atstring | nullResults are deleted 24 hours after the end.
    • last_progress_atstring | null
    • kindstringOnly for crawls. "crawl"
    • deliveryobjectOnly with delivery: where the results go and how it went.
      • destinationstring
      • formatstring "ndjson" "json" "csv"
      • pathstring
      • statusstring "pending" "delivered" "failed"
      • keystring
      • bytesinteger
      • partsintegerResults above 90 MB are written as numbered parts.
      • keyslist of string
      • errorstring
    • crawlobjectOnly for crawls: the settings.
      • urlstring
      • max_pagesinteger
      • max_depthinteger
      • include_pathslist of string
      • exclude_pathslist of string
      • include_subdomainsboolean
      • ignore_queryboolean
  • itemslist of object
    • indexinteger
    • statusstring
    • urlstring | null
    • depthintegerOnly for crawls: links away from the start page.
    • request_idstring | null
    • creditsinteger
    • finished_atstring | null
    • responseobjectthe answer of POST /v1/requests
    • errorobject
      • codestring
      • messagestring
  • next_offsetinteger | null

Also as application/x-ndjson, text/csv.

How to use it

POST /v1/jobs/{id}/retry

Send the failed requests of a job againPermissionrequests

Creates a new job from the failed requests of this one, exactly as they were sent, with the same webhook and tag. Requests that succeeded are not sent again.

ParameterInTypeMeaning
id requiredpathstringThe job id.
Answer 202 The new job was accepted. · Job
  • idstring
  • statusstring "queued" "running" "done" "canceled" "expired"
  • totalintegerRequests in the job (a crawl grows as it finds pages).
  • succeededinteger
  • failedinteger
  • canceledinteger
  • pendinginteger
  • creditsinteger
  • tagstring | null
  • webhookobject | null
    • urlstring
    • eventslist of string
    • include_bodyfalse
    • metadataobject
  • budgetobjectOnly with max_credits: the cap, what was used and what is left.
    • max_creditsinteger
    • spentinteger
    • leftinteger
  • created_atstring
  • started_atstring | null
  • finished_atstring | null
  • expires_atstring | nullResults are deleted 24 hours after the end.
  • last_progress_atstring | null
  • kindstringOnly for crawls. "crawl"
  • deliveryobjectOnly with delivery: where the results go and how it went.
    • destinationstring
    • formatstring "ndjson" "json" "csv"
    • pathstring
    • statusstring "pending" "delivered" "failed"
    • keystring
    • bytesinteger
    • partsintegerResults above 90 MB are written as numbered parts.
    • keyslist of string
    • errorstring
  • crawlobjectOnly for crawls: the settings.
    • urlstring
    • max_pagesinteger
    • max_depthinteger
    • include_pathslist of string
    • exclude_pathslist of string
    • include_subdomainsboolean
    • ignore_queryboolean

How to use it

Account

Credits, limits and your request log.

GET /v1/requests

Your recent requestsPermissionread

Newest first, 1 to 100 per page; next continues the list as before.

ParameterInTypeMeaning
limitqueryintegerRecords per page. Default 50. 1 to 100.
resultquerystringOnly answers below 400, only answers of 400 and above, or only requests without an answer. One of ok, http_error, failed.
sincequerystringOnly this recent. One of 24h, 7d, 30d, 90d.
tagquerystringOnly requests with this tag.
beforequerystringContinue after this request id (next of the previous page).
hostquerystringOnly targets whose host contains this text.
kindquerystringOnly requests of this kind (page, render, screenshot, pdf, batch, job, crawl, map, mcp). One of page, render, screenshot, pdf, batch, job, crawl, map, mcp, search.
keyquerystringOnly requests of this key (its id).
fromquerystringFrom this time on (ISO 8601).
toquerystringBefore this time (ISO 8601).
status_classquerystringOnly answers of the target with a status in this class. One of 2xx, 3xx, 4xx, 5xx.
statusqueryintegerOnly answers with exactly this status. 100 to 599.
errorquerystringOnly failed requests with this error code (e.g. timeout).
min_msqueryintegerOnly requests that took at least this long. 0 to ….
fresh_ipquerybooleanOnly requests with (true) or without (false) a new IP.
chargedquerybooleanOnly charged (true) or free (false) requests.
Answer 200 OK
  • itemslist of object
    • idstring
    • created_atstring
    • methodstring
    • target_hoststring
    • okbooleanfalse when the target never answered.
    • statusinteger | null
    • errorstring | null
    • exitobject
      • ipstring | null
      • countrystring
    • bytesobject
      • upinteger
      • downinteger
    • duration_msinteger | null
    • costobject
      • creditsinteger
      • partsobjectOf the credits: the browser part, the new-IP part and the AI part.
    • fresh_ipboolean
    • tagstring | null
    • kindstring | null "page" "render" "screenshot" "pdf" "batch" "job" "crawl" "map" "mcp" "search" null
    • key_idstring | nullThe key that sent it.
  • nextstring | null

How to use it

GET /v1/requests/{id}

One request recordPermissionread

Figures of one of your requests (not its content).

ParameterInTypeMeaning
id requiredpathstringThe request id.
Answer 200 OK · RequestRecord
  • idstring
  • created_atstring
  • methodstring
  • target_hoststring
  • okbooleanfalse when the target never answered.
  • statusinteger | null
  • errorstring | null
  • exitobject
    • ipstring | null
    • countrystring
  • bytesobject
    • upinteger
    • downinteger
  • duration_msinteger | null
  • costobject
    • creditsinteger
    • partsobjectOf the credits: the browser part, the new-IP part and the AI part.
      • renderinteger
      • fresh_ipinteger
      • aiinteger
  • fresh_ipboolean
  • tagstring | null
  • kindstring | null "page" "render" "screenshot" "pdf" "batch" "job" "crawl" "map" "mcp" "search" null
  • key_idstring | nullThe key that sent it.

How to use it

GET /v1/requests/{id}/answer

The kept answer of a requestPermissionread

The answer itself, when it is kept: requests sent with an Idempotency-Key (24 hours) and answers in the cache (cache, up to their age). Free; nothing runs again. Otherwise 404 answer_not_kept.

ParameterInTypeMeaning
id requiredpathstringThe request id.
Answer 200 OK

How to use it

GET /v1/limits

What you may still do right nowPermissionrequests or read

Parallel requests and the rate of your plan with their current use, the daily credit cap and the calling key's limits – for clients that pace themselves instead of running into 429 or 402. Free.

Answer 200 OK · Limits
  • concurrencyobject
    • limitinteger
    • in_useinteger
    • peak_todayinteger
  • rateobject
    • limitintegerRequests per second.
    • nownumber
    • avg_5snumber
    • peak_todaynumber
  • daily_capobject | nullOnly with a daily cap set.
    • capinteger
    • usedinteger
    • leftinteger
    • resets_atstring
  • keyobject | null
    • idstring
    • credit_limitinteger | null
    • daily_limitinteger | null
    • daily_usedinteger
    • daily_leftinteger | null
  • test_modetrue

How to use it

PATCH /v1/account/settings

Daily cap, credit alerts, alert webhookPermissionmanage

Needs a key with the manage scope and without its own credit limit. Every change is in the audit log.

Request body application/json · AccountSettings
  • daily_capinteger | nullCredits per UTC day for the whole account, or null for none.
  • alert_thresholdslist of integer | nullPercentages of the credits at which you are told (null: 80 and 100).
  • alert_hook_urlstring | nullAn https address of yours for account alerts, or null.
  • alert_hook_slackbooleanSend alerts in Slack's message format.
Answer 200 OK · AccountSettings
  • daily_capinteger | nullCredits per UTC day for the whole account, or null for none.
  • alert_thresholdslist of integer | nullPercentages of the credits at which you are told (null: 80 and 100).
  • alert_hook_urlstring | nullAn https address of yours for account alerts, or null.
  • alert_hook_slackbooleanSend alerts in Slack's message format.

How to use it

GET /v1/account

Plan, credits and limitsPermissionrequests or read

Answer 200 OK · Account
  • idstring
  • planstring "free" "starter" "growth" "scale"
  • statusstring
  • creditsobject
    • includedinteger
    • usedinteger
    • extrainteger
    • remaininginteger
  • period_startstring | null
  • period_endstring | null
  • limitsobject
    • concurrencyinteger
    • requests_per_secondinteger
    • max_response_bytesinteger
    • timeout_msinteger
    • priorityinteger
    • requests_per_jobinteger
    • requests_per_batchinteger
  • test_modetrueOnly when called with a test key.

How to use it

GET /v1/usage

Usage per day (UTC)Permissionread

Days without requests are left out of data.

ParameterInTypeMeaning
daysqueryintegerDays back, today included. Default 30. 1 to 90.
tagquerystringOnly requests with this tag.
Answer 200 OK · Usage
  • daysinteger
  • fromstring
  • tostring
  • tagstring
  • datalist of object
    • daystring
    • requestsinteger
    • successfulinteger
    • creditsinteger
    • bytes_downinteger
    • bytes_upinteger

How to use it

GET /v1/usage/breakdown

Usage per target domain, key or tagPermissionread

With a time series per row. Up to 30 per minute.

ParameterInTypeMeaning
byquerystringGroup by. One of host, key, tag. Default "host".
sincequerystringPeriod. One of 24h, 7d, 30d, 90d. Default "7d".
sortquerystringOrder. One of requests, credits, failed, avg_ms. Default "requests".
limitqueryintegerRows. Default 20. 1 to 100.
tagquerystringOnly this tag.
keyquerystringOnly this key (its id).
Answer 200 OK

by, since, sort, bucket (hour or day), buckets, total and items with their series.

How to use it

Keys and webhooks

Manage API keys and webhook settings from your own tools.

GET /v1/destinations

Your storage destinationsPermissionrequests or read

Answer 200 OK
  • itemslist of object
    • idstring
    • namestring
    • type"s3"
    • endpointstring | null
    • regionstring
    • bucketstring
    • prefixstring
    • access_key_idstring
    • path_styleboolean | null
    • created_atstring
    • last_testobject | null
      • atstring
      • okboolean
      • errorstring
  • limitinteger

POST /v1/destinations

Add your own storage (S3-compatible)Permissionmanage

A bucket of AWS S3 or any S3-compatible service (Cloudflare R2, Google Cloud Storage in interoperability mode, MinIO, Wasabi, Backblaze B2 …) that jobs, crawls and schedules can write their results to (delivery). The secret key is stored encrypted and never shown again. Give the key write access (PutObject) to the bucket or prefix only. Needs the manage scope; at most 10.

Request body application/json · DestinationBody
  • namestringrequired
  • type"s3"
  • endpointstring | nullThe https address of the service; leave out for AWS S3.
  • regionstringCloudflare R2: auto.
  • bucketstringrequired
  • prefixstringA folder in the bucket, e.g. virginproxy/.
  • access_key_idstringrequired
  • secret_access_keystringrequired
  • path_stylebooleanAddress the bucket as <endpoint>/<bucket> (default for services other than AWS) or as <bucket>.<endpoint>.
Answer 201 Created. · Destination
  • idstring
  • namestring
  • type"s3"
  • endpointstring | null
  • regionstring
  • bucketstring
  • prefixstring
  • access_key_idstring
  • path_styleboolean | null
  • created_atstring
  • last_testobject | null
    • atstring
    • okboolean
    • errorstring

DELETE /v1/destinations/{id}

Delete a storage destinationPermissionmanage

ParameterInTypeMeaning
id requiredpathstringThe destination id.
Answer 200 OK
  • deletedtrue
  • idstring

POST /v1/destinations/{id}/test

Write a test filePermissionmanage

Writes virginproxy-test.txt into the bucket (inside the prefix) and says whether it worked, with the storage service's own error when not. The file stays there.

ParameterInTypeMeaning
id requiredpathstringThe destination id.
Answer 200 OK
  • okboolean
  • keystring
  • errorstring

GET /v1/keys

Your API keysPermissionmanage

Every key that is not revoked, with its usage. Needs a live key without its own credit limit and with the manage permission. The full keys are never shown again, only their prefix.

Answer 200 OK
  • itemslist of object
    • idstring
    • namestring
    • prefixstringThe visible start of the key, e.g. vp_live_Ab3d.
    • modestring "live" "test"
    • ip_allowlistlist of string
    • credit_limitinteger | null
    • daily_limitinteger | nullCredits this key may use per UTC day; null = no daily limit.
    • last_used_atstring | null
    • created_atstring
    • currentbooleanThis is the key of the call.
    • scopeslist of stringWhat the key may do: requests (send requests, jobs, crawls), read (account, usage, request log), manage (keys and webhooks). Keys without stored scopes have all three.
    • expires_atstring | nullAfter this time the key no longer works (401). Set by you, or by a roll (the end of its grace period).
    • rolled_tostring | nullThe id of the key that replaced this one in a roll.
    • usageobject
      • period_creditsintegerCredits in the current period (what counts against credit_limit).
      • requests_30dinteger
      • credits_30dinteger
  • max_keysinteger
  • period_startstring | null

How to use it

POST /v1/keys

Create an API keyPermissionmanage

Creates a live or test key, optionally with a credit limit and an IP list. The full key is in this answer only. At most 20 keys per account. Needs a live key without its own credit limit and with the manage permission.

Request body application/json · KeyCreate
  • namestringrequired
  • modestringtest: sample answers, never charged (see Test mode). "live" "test"
  • credit_limitinteger | nullCredits this key may use per period.
  • daily_limitinteger | nullCredits this key may use per UTC day (daily_limit_reached past it).
  • ip_allowlistlist of string | nullOnly these addresses may use the key.
  • scopeslist of string | nullPermissions of the new key; never more than the calling key has. Default: the calling key's own.
  • expires_atstring | nullOptional expiry date, at least 5 minutes and at most 366 days ahead.
Answer 201 The key was created. · KeyCreated
  • idstring
  • namestring
  • prefixstring
  • modestring
  • keystringThe full key. Shown only here.
  • credit_limitinteger | null
  • daily_limitinteger | null
  • ip_allowlistlist of string
  • scopeslist of stringWhat the key may do: requests (send requests, jobs, crawls), read (account, usage, request log), manage (keys and webhooks). Keys without stored scopes have all three.
  • expires_atstring | null
  • created_atstring
  • notestring

How to use it

PATCH /v1/keys/{id}

Change name, credit limit, daily limit or IP list of a keyPermissionmanage

An IP list that would lock out the key you are calling with is refused (own_key).

ParameterInTypeMeaning
id requiredpathstringThe key id (from GET /v1/keys).
Request body application/json · KeyUpdate
  • namestring
  • credit_limitinteger | null
  • daily_limitinteger | null
  • ip_allowlistlist of string | null
  • scopeslist of string | nullOnly within the calling key's own permissions.
  • expires_atstring | nullnull removes the expiry date.
Answer 200 OK · Key
  • idstring
  • namestring
  • prefixstringThe visible start of the key, e.g. vp_live_Ab3d.
  • modestring "live" "test"
  • ip_allowlistlist of string
  • credit_limitinteger | null
  • daily_limitinteger | nullCredits this key may use per UTC day; null = no daily limit.
  • last_used_atstring | null
  • created_atstring
  • currentbooleanThis is the key of the call.
  • scopeslist of stringWhat the key may do: requests (send requests, jobs, crawls), read (account, usage, request log), manage (keys and webhooks). Keys without stored scopes have all three.
  • expires_atstring | nullAfter this time the key no longer works (401). Set by you, or by a roll (the end of its grace period).
  • rolled_tostring | nullThe id of the key that replaced this one in a roll.
  • usageobject
    • period_creditsintegerCredits in the current period (what counts against credit_limit).
    • requests_30dinteger
    • credits_30dinteger

How to use it

DELETE /v1/keys/{id}

Revoke a keyPermissionmanage

The key stops working at once. Revoking the key you are calling with needs ?confirm=revoke_current_key.

ParameterInTypeMeaning
id requiredpathstringThe key id.
confirmquerystringOnly to revoke the key of this call. One of revoke_current_key.
Answer 200 OK
  • idstring
  • revokedtrue
  • currentboolean

How to use it

POST /v1/keys/{id}/roll

Roll a key: a new secret, the old one keeps working for a grace periodPermissionmanage

Creates a new key with the same name, mode, limits, IP list and permissions; the old key keeps working for grace (1h, 24h, 7d; default 24h) and then gives 401. The full new key is in this answer only. The new key's credit limits count from zero. Never for a key with more permissions than the calling one.

ParameterInTypeMeaning
id requiredpathstringThe key to roll.
Request body application/json
  • gracestring "1h" "24h" "7d"
Answer 201 The new key was created.

any

How to use it

GET /v1/webhooks

Webhook secret and recent deliveriesPermissionmanage

The secret that signs your webhooks and the latest deliveries with their outcome (kept 7 days; their content 72 hours after the last attempt, for redelivery). Needs a live key without its own credit limit and with the manage permission.

ParameterInTypeMeaning
limitqueryintegerDeliveries. Default 50. 1 to 100.
Answer 200 OK
  • secretstringwhsec_…
  • previous_untilstring | nullWhile a rotation's grace period runs: until when deliveries also carry a signature with the previous secret.
  • deliverieslist of object
    • idstring
    • job_idstring | nullnull for an alert of the account webhook (event alert.…).
    • eventstringjob.item, job.done, or alert.… for the account webhook for alerts.
    • indexinteger | null
    • urlstring
    • statusstring "pending" "delivered" "failed"
    • attemptsinteger
    • next_attempt_atstring | null
    • last_codeinteger | null
    • last_errorstring | null
    • last_attempt_atstring | null
    • created_atstring
    • delivered_atstring | null
    • redeliverablebooleanCan be sent again (finished, and its last attempt less than 72 hours ago).
    • redelivered_atstring | nullWhen it was last sent again on request.

How to use it

POST /v1/webhooks/secret

Make a new webhook secretPermissionmanage

Makes a new secret. Without grace (or with now) the old one stops verifying at once. With a grace period, deliveries carry two signatures until it ends – X-VP-Signature: t=…,v1=<new>,v1=<previous> – so receivers can switch to the new secret in their own time: accept a call when any v1 matches.

Request body application/json
  • gracestring "now" "1h" "24h" "7d"
Answer 200 OK
  • secretstring
  • previous_untilstring | null
  • notestring

How to use it

GET /v1/webhooks/deliveries

Webhook deliveries, filtered and page by pagePermissionmanage

Newest first, from the last 7 days. Continue with before = the next of the previous page.

ParameterInTypeMeaning
statusquerystringOnly this state. One of pending, delivered, failed.
eventquerystringjob.item, job.done, alert (every alert) or one alert.… event.
jobquerystringOnly deliveries of this job.
beforequerystringContinue after this delivery.
limitqueryintegerDeliveries per page. Default 50. 1 to 100.
Answer 200 OK
  • itemslist of object
    • idstring
    • job_idstring | nullnull for an alert of the account webhook (event alert.…).
    • eventstringjob.item, job.done, or alert.… for the account webhook for alerts.
    • indexinteger | null
    • urlstring
    • statusstring "pending" "delivered" "failed"
    • attemptsinteger
    • next_attempt_atstring | null
    • last_codeinteger | null
    • last_errorstring | null
    • last_attempt_atstring | null
    • created_atstring
    • delivered_atstring | null
    • redeliverablebooleanCan be sent again (finished, and its last attempt less than 72 hours ago).
    • redelivered_atstring | nullWhen it was last sent again on request.
  • nextstring | null
  • keep_hoursinteger

How to use it

GET /v1/webhooks/deliveries/{id}

One delivery with its attemptsPermissionmanage

The delivery, its body while it is kept (72 hours after the last attempt; cut at 20 KB here) and every attempt: time, duration, status or error, the headers we sent and the start of your server's answer (at most 2048 bytes).

ParameterInTypeMeaning
id requiredpathstringThe delivery id.
Answer 200 OK

any

How to use it

POST /v1/webhooks/test

Send a signed test delivery nowPermissionmanage

Sends one signed sample event (webhook.test, job.done, job.item) to your URL and answers with the outcome. Nothing is stored or retried; the body carries "test": true. Up to 10 per minute.

Request body application/json
  • urlstringrequiredA public https:// address of yours.
  • eventstring "webhook.test" "job.done" "job.item"
Answer 200 OK
  • idstring
  • eventstring
  • urlstring
  • deliveredbooleanYour endpoint answered with 2xx.
  • status_codeinteger | null
  • errorstring
  • duration_msinteger

How to use it

POST /v1/webhooks/deliveries/{id}/redeliver

Send a delivery againPermissionmanage

Puts a finished delivery (delivered or given up) back in the queue: the same id and body, signed with the current secret, with a fresh retry schedule. Possible for 72 hours after its last attempt. Another account's delivery is "not found". Up to 20 per minute.

ParameterInTypeMeaning
id requiredpathstringThe delivery id (from GET /v1/webhooks).
Answer 200 The delivery is queued again (status pending). · WebhookDelivery
  • idstring
  • job_idstring | nullnull for an alert of the account webhook (event alert.…).
  • eventstringjob.item, job.done, or alert.… for the account webhook for alerts.
  • indexinteger | null
  • urlstring
  • statusstring "pending" "delivered" "failed"
  • attemptsinteger
  • next_attempt_atstring | null
  • last_codeinteger | null
  • last_errorstring | null
  • last_attempt_atstring | null
  • created_atstring
  • delivered_atstring | null
  • redeliverablebooleanCan be sent again (finished, and its last attempt less than 72 hours ago).
  • redelivered_atstring | nullWhen it was last sent again on request.

How to use it

Presets and schedules

Saved request options, and jobs or crawls that run again every interval with a cost cap.

GET /v1/presets

Your presetsPermissionrequests or read

Answer 200 OK
  • itemslist of object
    • namestring
    • descriptionstring | null
    • requestobject
    • created_atstring
    • updated_atstring
  • max_presetsinteger

How to use it

POST /v1/presets

Save request options under a namePermissionmanage

Use it with "preset": "name" in a request, a job (or its items), a crawl's request or a batch; options sent with the request win. Up to 100 per account. Needs the manage scope.

Request body application/json · PresetBody
  • namestring
  • descriptionstring | null
  • requestobjectRequest options as for POST /v1/requests, without url (checked when saved).
Answer 201 Created. · Preset
  • namestring
  • descriptionstring | null
  • requestobject
  • created_atstring
  • updated_atstring

How to use it

GET /v1/presets/{name}

One presetPermissionrequests or read

ParameterInTypeMeaning
name requiredpathstring
Answer 200 OK · Preset
  • namestring
  • descriptionstring | null
  • requestobject
  • created_atstring
  • updated_atstring

How to use it

PATCH /v1/presets/{name}

Change a presetPermissionmanage

ParameterInTypeMeaning
name requiredpathstring
Request body application/json · PresetBody
  • namestring
  • descriptionstring | null
  • requestobjectRequest options as for POST /v1/requests, without url (checked when saved).
Answer 200 OK · Preset
  • namestring
  • descriptionstring | null
  • requestobject
  • created_atstring
  • updated_atstring

How to use it

DELETE /v1/presets/{name}

Delete a presetPermissionmanage

ParameterInTypeMeaning
name requiredpathstring
Answer 200 OK
  • deletedtrue
  • namestring

How to use it

GET /v1/schedules

Your schedulesPermissionrequests or read

Answer 200 OK
  • itemslist of object
    • idstring
    • namestring | null
    • everystring
    • rhythmstringThe rhythm in words, also for the fixed codes.
    • time_zonestringOnly for wall-clock rhythms: the zone they run in.
    • notifyobject
      • emailboolean
      • webhookboolean
    • trackstring | null
    • goalstringOnly when set.
    • next_runslist of stringThe next three runs (empty when paused).
    • kindstring "job" "crawl"
    • jobobject
    • crawlobject
    • max_creditsinteger
    • statusstring "active" "paused"
    • paused_reasonstring | null "by_you" "credits_exhausted" "daily_limit_reached" "key_limit_reached" "key_revoked" "account_suspended" "email_not_verified" null
    • next_run_atstring | null
    • last_run_atstring | null
    • last_jobstring | null
    • runsinteger
    • created_atstring
  • limitsobject

How to use it

POST /v1/schedules

Run a job or crawl again and againPermissionmanage

Starts the job or crawl every interval (5m, 15m, 30m, 1h, 6h, 12h, 1d, 7d), each run with its own cost cap max_credits (required). Runs never overlap. The schedule pauses itself when credits or the daily cap are used up, its key is revoked or the account is suspended. Per plan: free 1, starter 5, growth 20, scale 50 schedules. Needs the manage scope.

Request body application/json · ScheduleBody
  • namestring | null
  • everystringA fixed interval (5m, 15m, 30m, 1h, 6h, 12h, 1d, 7d) or a rhythm in words in your account's time zone: every 30 minutes, hourly, every 6 hours, daily at 08:00, weekdays at 09:30, weekly on monday at 07:00, every 2 days. At least every 5 minutes, and not more often than your plan allows.
  • notifyobject | nullWith track: when a run finds new, removed or changed pages. E-mail at most once per hour and schedule.
    • emailboolean
    • webhookbooleanTo your alert webhook as alert.monitor_changed.
  • trackstring | nullpages: compare every run with the last one (a monitor); see /v1/schedules/{id}/reports. "pages" null
  • goalstring | nullWith track: which changes matter, in words ("a price drops"). Only when the service has AI features switched on; then only changes that matter are reported.
  • max_creditsintegerThe most one run may cost (required when creating).
  • jobobjectAs for POST /v1/jobs (without max_credits). Either this or crawl.
  • crawlobjectAs for POST /v1/crawl (without max_credits).
  • start_atstringThe first run (default: now).
  • statusstring "active" "paused"
Answer 201 Created. · Schedule
  • idstring
  • namestring | null
  • everystring
  • rhythmstringThe rhythm in words, also for the fixed codes.
  • time_zonestringOnly for wall-clock rhythms: the zone they run in.
  • notifyobject
    • emailboolean
    • webhookboolean
  • trackstring | null
  • goalstringOnly when set.
  • next_runslist of stringThe next three runs (empty when paused).
  • kindstring "job" "crawl"
  • jobobject
  • crawlobject
  • max_creditsinteger
  • statusstring "active" "paused"
  • paused_reasonstring | null "by_you" "credits_exhausted" "daily_limit_reached" "key_limit_reached" "key_revoked" "account_suspended" "email_not_verified" null
  • next_run_atstring | null
  • last_run_atstring | null
  • last_jobstring | null
  • runsinteger
  • created_atstring

How to use it

GET /v1/schedules/{id}

One schedulePermissionrequests or read

ParameterInTypeMeaning
id requiredpathstringThe schedule id.
Answer 200 OK · Schedule
  • idstring
  • namestring | null
  • everystring
  • rhythmstringThe rhythm in words, also for the fixed codes.
  • time_zonestringOnly for wall-clock rhythms: the zone they run in.
  • notifyobject
    • emailboolean
    • webhookboolean
  • trackstring | null
  • goalstringOnly when set.
  • next_runslist of stringThe next three runs (empty when paused).
  • kindstring "job" "crawl"
  • jobobject
  • crawlobject
  • max_creditsinteger
  • statusstring "active" "paused"
  • paused_reasonstring | null "by_you" "credits_exhausted" "daily_limit_reached" "key_limit_reached" "key_revoked" "account_suspended" "email_not_verified" null
  • next_run_atstring | null
  • last_run_atstring | null
  • last_jobstring | null
  • runsinteger
  • created_atstring

How to use it

PATCH /v1/schedules/{id}

Change, pause or resume a schedulePermissionmanage

ParameterInTypeMeaning
id requiredpathstringThe schedule id.
Request body application/json · ScheduleBody
  • namestring | null
  • everystringA fixed interval (5m, 15m, 30m, 1h, 6h, 12h, 1d, 7d) or a rhythm in words in your account's time zone: every 30 minutes, hourly, every 6 hours, daily at 08:00, weekdays at 09:30, weekly on monday at 07:00, every 2 days. At least every 5 minutes, and not more often than your plan allows.
  • notifyobject | nullWith track: when a run finds new, removed or changed pages. E-mail at most once per hour and schedule.
    • emailboolean
    • webhookbooleanTo your alert webhook as alert.monitor_changed.
  • trackstring | nullpages: compare every run with the last one (a monitor); see /v1/schedules/{id}/reports. "pages" null
  • goalstring | nullWith track: which changes matter, in words ("a price drops"). Only when the service has AI features switched on; then only changes that matter are reported.
  • max_creditsintegerThe most one run may cost (required when creating).
  • jobobjectAs for POST /v1/jobs (without max_credits). Either this or crawl.
  • crawlobjectAs for POST /v1/crawl (without max_credits).
  • start_atstringThe first run (default: now).
  • statusstring "active" "paused"
Answer 200 OK · Schedule
  • idstring
  • namestring | null
  • everystring
  • rhythmstringThe rhythm in words, also for the fixed codes.
  • time_zonestringOnly for wall-clock rhythms: the zone they run in.
  • notifyobject
    • emailboolean
    • webhookboolean
  • trackstring | null
  • goalstringOnly when set.
  • next_runslist of stringThe next three runs (empty when paused).
  • kindstring "job" "crawl"
  • jobobject
  • crawlobject
  • max_creditsinteger
  • statusstring "active" "paused"
  • paused_reasonstring | null "by_you" "credits_exhausted" "daily_limit_reached" "key_limit_reached" "key_revoked" "account_suspended" "email_not_verified" null
  • next_run_atstring | null
  • last_run_atstring | null
  • last_jobstring | null
  • runsinteger
  • created_atstring

How to use it

DELETE /v1/schedules/{id}

Delete a schedulePermissionmanage

ParameterInTypeMeaning
id requiredpathstringThe schedule id.
Answer 200 OK
  • deletedtrue
  • idstring

How to use it

POST /v1/schedules/preview

Check a rhythm and see its next runsPermissionrequests or read

Saves nothing. every as for a schedule: a fixed code or a rhythm in words; the answer says it back the way it is stored, whether your plan allows it, and the next three runs in your account's time zone.

Request body application/json
  • everystringrequired
Answer 200 OK
  • everystring
  • allowedboolean
  • shortest_everystring
  • time_zonestring
  • next_runslist of string

GET /v1/schedules/{id}/reports

What each run found (monitors)Permissionrequests or read

Only for schedules with track: "pages": one report per finished run, newest first (the last 100 are kept) – pages new since the run before, removed, changed (each list up to 200 addresses; the counts are complete).

ParameterInTypeMeaning
id requiredpathstringThe schedule id.
limitqueryinteger Default 20. 1 to 50.
Answer 200 OK
  • itemslist of object
    • judgementobjectOnly for monitors with a goal: whether the change mattered, and why.
      • meaningfulboolean
      • reasonstring
    • jobstring
    • atstring
    • first_runbooleanThe first run only records the pages; nothing is reported as new.
    • pagesinteger
    • countsobject
      • addedinteger
      • removedinteger
      • changedinteger
    • addedlist of string
    • removedlist of string
    • changedlist of string

POST /v1/schedules/{id}/run

Start a run nowPermissionmanage

Also for a paused schedule; the next regular run stays as planned.

ParameterInTypeMeaning
id requiredpathstringThe schedule id.
Answer 202 Started.
  • scheduleobject
    • idstring
    • namestring | null
    • everystring
    • rhythmstringThe rhythm in words, also for the fixed codes.
    • time_zonestringOnly for wall-clock rhythms: the zone they run in.
    • notifyobject
      • emailboolean
      • webhookboolean
    • trackstring | null
    • goalstringOnly when set.
    • next_runslist of stringThe next three runs (empty when paused).
    • kindstring "job" "crawl"
    • jobobject
    • crawlobject
    • max_creditsinteger
    • statusstring "active" "paused"
    • paused_reasonstring | null "by_you" "credits_exhausted" "daily_limit_reached" "key_limit_reached" "key_revoked" "account_suspended" "email_not_verified" null
    • next_run_atstring | null
    • last_run_atstring | null
    • last_jobstring | null
    • runsinteger
    • created_atstring
  • jobobject
    • idstring
    • statusstring "queued" "running" "done" "canceled" "expired"
    • totalintegerRequests in the job (a crawl grows as it finds pages).
    • succeededinteger
    • failedinteger
    • canceledinteger
    • pendinginteger
    • creditsinteger
    • tagstring | null
    • webhookobject | null
      • urlstring
      • eventslist of string
      • include_bodyfalse
      • metadataobject
    • budgetobjectOnly with max_credits: the cap, what was used and what is left.
      • max_creditsinteger
      • spentinteger
      • leftinteger
    • created_atstring
    • started_atstring | null
    • finished_atstring | null
    • expires_atstring | nullResults are deleted 24 hours after the end.
    • last_progress_atstring | null
    • kindstringOnly for crawls. "crawl"
    • deliveryobjectOnly with delivery: where the results go and how it went.
      • destinationstring
      • formatstring "ndjson" "json" "csv"
      • pathstring
      • statusstring "pending" "delivered" "failed"
      • keystring
      • bytesinteger
      • partsintegerResults above 90 MB are written as numbered parts.
      • keyslist of string
      • errorstring
    • crawlobjectOnly for crawls: the settings.
      • urlstring
      • max_pagesinteger
      • max_depthinteger
      • include_pathslist of string
      • exclude_pathslist of string
      • include_subdomainsboolean
      • ignore_queryboolean

How to use it

AI agents

Use VirginProxy from AI clients.

GET /.well-known/ai-catalog.json

AI catalogPermissionNo key needed

No key needed. Points to the MCP server card.

Answer 200 OK

application/ai-catalog+json

GET /mcp/server-card

MCP server cardPermissionNo key needed

No key needed. How to connect to the MCP server: address, transport, authentication, protocol versions.

Answer 200 OK

application/mcp-server-card+json

How to use it

GET /v1/docs

The complete documentation for your AIPermissionAny key

Lists the files of the complete documentation (member guides included) for your AI assistant or agent: Markdown, OpenAPI, error list, tool definitions. Any key of the account works, test keys too; free and not in the request log; up to 60 files per minute. The key goes in the header only, never in the address.

Answer 200 OK
  • descriptionstring
  • fileslist of object
    • namestring
    • urlstring
    • typestring
    • titlestring
    • availableboolean
  • mcpobject

GET /v1/docs/{name}

One file of the complete documentationPermissionAny key

One file of the complete documentation (see GET /v1/docs). llms-full.txt is the whole documentation as one Markdown text, member guides included.

ParameterInTypeMeaning
name requiredpathstringA file name from GET /v1/docs (10 files).
Answer 200 The file.

object

Also as text/markdown, application/yaml.

POST /mcp

Model Context Protocol endpointPermissionKey or sign-in

For AI clients (MCP, Streamable HTTP transport, no sessions, JSON answers). Send JSON-RPC 2.0 messages with your API key as Bearer token. Protocol versions: 2026-07-28, 2025-11-25, 2025-06-18, 2025-03-26, 2024-11-05 (2026-07-28 without handshake: version in params._meta and the MCP-Protocol-Version, Mcp-Method and Mcp-Name headers; earlier ones with initialize). Methods: server/discover, initialize, ping, tools/list, tools/call, resources/list, resources/templates/list, resources/read, prompts/list, prompts/get. Tools: scrape, batch_scrape, screenshot, pdf, search, map, crawl, export_job, retry_job, get_job, list_jobs, cancel_job, estimate, account, usage, list_requests, limits, get_answer, list_presets, get_request. Each tool call is an ordinary API call (same limits, same charges, same request log). GET and DELETE answer 405.

Request body application/json
  • jsonrpc"2.0"required
  • idstring | integer
  • methodstringrequired
  • paramsobject
Answer 200 OK

JSON-RPC response (or a list of them for a batch).

Answer 202 Only notifications were sent: nothing to answer.

No body.

How to use it

OAuth

Sign-in for MCP clients that connect with OAuth: register, approve on the dashboard, get tokens for /mcp.

GET /.well-known/oauth-authorization-server

Authorization server metadata (RFC 8414)PermissionNo key needed

No key needed. Endpoints and capabilities of the OAuth sign-in for MCP clients.

Answer 200 OK

object

How to use it

GET /.well-known/oauth-protected-resource/mcp

Protected resource metadata of /mcp (RFC 9728)PermissionNo key needed

No key needed. Which authorization server issues tokens for the MCP endpoint. A 401 from /mcp points here in its WWW-Authenticate header.

Answer 200 OK

object

How to use it

POST /oauth/register

Register an MCP client (RFC 7591)PermissionNo key needed

No key needed; up to 20 registrations per hour from one address. Redirect URIs: https, http on localhost / 127.0.0.1 / [::1] (any port), or an app's own scheme; no fragments, at most 2000 characters. Clients that are never authorised are deleted after 24 hours.

Request body application/json
  • redirect_urislist of stringrequired
  • client_namestringShown on the consent screen.
  • client_uristring
  • logo_uristringStored, not shown.
  • token_endpoint_auth_methodstring "none" "client_secret_post" "client_secret_basic"
  • grant_typeslist of string
  • response_typeslist of "code"
  • scopestring
Answer 201 Registered.
  • client_idstringrequired
  • client_id_issued_atintegerrequired
  • client_secretstringOnly with client_secret_post / client_secret_basic. Shown once.
  • client_secret_expires_at0
  • redirect_urislist of stringrequired
  • client_namestring
  • token_endpoint_auth_methodstring
  • grant_typeslist of string
  • response_typeslist of string
  • scope"mcp"

Errors

  • 400 invalid_redirect_uri or invalid_client_metadata.
  • 429 rate_limited.

How to use it

POST /oauth/token

Exchange a code or refresh token for tokensPermissionNo key needed

grant_type=authorization_code (with PKCE S256: code, redirect_uri, code_verifier, client_id) or grant_type=refresh_token (rotating). Access tokens are valid 60 minutes and work only on https://api.virginproxy.com/mcp. A code works once; using it again revokes the tokens issued from it. The answer has Cache-Control: no-store.

Request body application/x-www-form-urlencoded
  • grant_typestringrequired "authorization_code" "refresh_token"
  • codestring
  • redirect_uristring
  • code_verifierstring
  • refresh_tokenstring
  • resource"https://api.virginproxy.com/mcp"
  • scope"mcp"
  • client_idstringYour client_id (or send it with the secret as HTTP Basic).
  • client_secretstringOnly for clients registered with client_secret_post.
Answer 200 Tokens.
  • access_tokenstringrequiredSend as "Authorization: Bearer …" to https://api.virginproxy.com/mcp – the only endpoint that accepts it.
  • token_type"Bearer"required
  • expires_in3600requiredSeconds.
  • refresh_tokenstringrequiredValid 30 days from its issue; replaced by a new one on every use. Using a replaced one again ends the connection's sign-in.
  • scope"mcp"required

Errors

  • 400 invalid_request, invalid_grant, unsupported_grant_type, invalid_scope or invalid_target.
  • 401 invalid_client.
  • 429 rate_limited.

How to use it

POST /oauth/revoke

Revoke a token (RFC 7009)PermissionNo key needed

Always 200, whether or not the token existed. Revoking a refresh token ends the whole sign-in it belongs to; the connection itself stays on the Keys page until you revoke it there.

Request body application/x-www-form-urlencoded
  • tokenstringrequired
  • token_type_hintstring "access_token" "refresh_token"
  • client_idstringYour client_id (or send it with the secret as HTTP Basic).
  • client_secretstringOnly for clients registered with client_secret_post.
Answer 200 Done (also for an unknown token).

object

Errors

  • 401 invalid_client: a registered secret was missing or wrong.

How to use it

Service

Status and machine-readable descriptions.

GET /.well-known/api-catalog

API catalog (RFC 9727)PermissionNo key needed

No key needed. Where this API's description, documentation and status are, as a linkset.

Answer 200 OK

application/linkset+json

GET /.well-known/security.txt

Security contact (RFC 9116)PermissionNo key needed

Answer 200 OK

text/plain

GET /v1/status

Service statusPermissionNo key needed

No key needed. ok, maintenance (paused, nothing is charged) or disturbed.

Answer 200 OK
  • statusstring "ok" "maintenance" "disturbed"
  • api_versionstring
  • timestring
  • docsstring

How to use it

GET /v1/errors

Every error codePermissionNo key needed

No key needed. The same list as on the errors page, as JSON.

Answer 200 OK · ErrorList
  • descriptionstring
  • docsstring
  • errorslist of object
    • codestring
    • httpinteger
    • groupstring
    • group_titlestring
    • retrystring "wait" "yes" "no"
    • descriptionstring

How to use it

GET /healthz

Up or downPermissionNo key needed

Answer 200 OK
  • oktrue

Errors

  • 503 Down.

How to use it

GET /openapi.json

This description (JSON)PermissionNo key needed

Answer 200 OK

object

How to use it

GET /openapi.yaml

This description (YAML)PermissionNo key needed

Answer 200 OK

application/yaml

How to use it

GET /

Service name and docs linkPermissionNo key needed

Answer 200 OK
  • servicestring
  • versionstring
  • docsstring

Note

The error codes under each endpoint are the ones it can return in practice; the full list with what to do is on the errors page. Every authenticated call can also answer invalid_api_key (401), rate_limited (429) and maintenance (503).

Was this page helpful?

Last updated