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
| Endpoint | What it does | Permission |
|---|---|---|
POST /v1/requests | Run one request | requests |
GET /v1/raw | The target's answer as it is | requests |
GET /v1/screenshot | Screenshot as an image | requests |
POST /v1/estimate | What a request may cost, without running it | requests or read |
GET /v1/pdf | The page as a PDF document | requests |
POST /v1/batch | A few requests in one call, answered together | requests |
POST /v1/map | The addresses of a website | requests |
POST /v1/search | Search the web and get the results as JSON | requests |
POST /v1/crawl | Crawl a website in the background | requests |
GET /v1/jobs | Your jobs, newest first | requests or read |
POST /v1/jobs | Many requests in the background | requests |
GET /v1/jobs/{id} | Progress of a job | requests or read |
DELETE /v1/jobs/{id} | Cancel a job | requests |
GET /v1/jobs/{id}/results | Results of a job | requests or read |
GET /v1/jobs/{id}/stream | Finished items as they come (NDJSON) | requests or read |
GET /v1/jobs/{id}/export | All results of a job as one download | requests or read |
POST /v1/jobs/{id}/retry | Send the failed requests of a job again | requests |
GET /v1/requests | Your recent requests | read |
GET /v1/requests/{id} | One request record | read |
GET /v1/requests/{id}/answer | The kept answer of a request | read |
GET /v1/limits | What you may still do right now | requests or read |
PATCH /v1/account/settings | Daily cap, credit alerts, alert webhook | manage |
GET /v1/account | Plan, credits and limits | requests or read |
GET /v1/usage | Usage per day (UTC) | read |
GET /v1/usage/breakdown | Usage per target domain, key or tag | read |
GET /v1/destinations | Your storage destinations | requests or read |
POST /v1/destinations | Add your own storage (S3-compatible) | manage |
DELETE /v1/destinations/{id} | Delete a storage destination | manage |
POST /v1/destinations/{id}/test | Write a test file | manage |
GET /v1/keys | Your API keys | manage |
POST /v1/keys | Create an API key | manage |
PATCH /v1/keys/{id} | Change name, credit limit, daily limit or IP list of a key | manage |
DELETE /v1/keys/{id} | Revoke a key | manage |
POST /v1/keys/{id}/roll | Roll a key: a new secret, the old one keeps working for a grace period | manage |
GET /v1/webhooks | Webhook secret and recent deliveries | manage |
POST /v1/webhooks/secret | Make a new webhook secret | manage |
GET /v1/webhooks/deliveries | Webhook deliveries, filtered and page by page | manage |
GET /v1/webhooks/deliveries/{id} | One delivery with its attempts | manage |
POST /v1/webhooks/test | Send a signed test delivery now | manage |
POST /v1/webhooks/deliveries/{id}/redeliver | Send a delivery again | manage |
GET /v1/presets | Your presets | requests or read |
POST /v1/presets | Save request options under a name | manage |
GET /v1/presets/{name} | One preset | requests or read |
PATCH /v1/presets/{name} | Change a preset | manage |
DELETE /v1/presets/{name} | Delete a preset | manage |
GET /v1/schedules | Your schedules | requests or read |
POST /v1/schedules | Run a job or crawl again and again | manage |
GET /v1/schedules/{id} | One schedule | requests or read |
PATCH /v1/schedules/{id} | Change, pause or resume a schedule | manage |
DELETE /v1/schedules/{id} | Delete a schedule | manage |
POST /v1/schedules/preview | Check a rhythm and see its next runs | requests or read |
GET /v1/schedules/{id}/reports | What each run found (monitors) | requests or read |
POST /v1/schedules/{id}/run | Start a run now | manage |
GET /.well-known/ai-catalog.json | AI catalog | No key needed |
GET /mcp/server-card | MCP server card | No key needed |
GET /v1/docs | The complete documentation for your AI | Any key |
GET /v1/docs/{name} | One file of the complete documentation | Any key |
POST /mcp | Model Context Protocol endpoint | Key or sign-in |
GET /.well-known/oauth-authorization-server | Authorization server metadata (RFC 8414) | No key needed |
GET /.well-known/oauth-protected-resource/mcp | Protected resource metadata of /mcp (RFC 9728) | No key needed |
POST /oauth/register | Register an MCP client (RFC 7591) | No key needed |
POST /oauth/token | Exchange a code or refresh token for tokens | No key needed |
POST /oauth/revoke | Revoke a token (RFC 7009) | No key needed |
GET /.well-known/api-catalog | API catalog (RFC 9727) | No key needed |
GET /.well-known/security.txt | Security contact (RFC 9116) | No key needed |
GET /v1/status | Service status | No key needed |
GET /v1/errors | Every error code | No key needed |
GET /healthz | Up or down | No key needed |
GET /openapi.json | This description (JSON) | No key needed |
GET /openapi.yaml | This description (YAML) | No key needed |
GET / | Service name and docs link | No key needed |
Requests
Run requests.
POST /v1/requests
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).
| Parameter | In | Type | Meaning |
|---|---|---|---|
Idempotency-Key | header | string | Optional. 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-cookieis 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 presentexpires,max_ageandsame_site.redirectslist of objectThe redirects that were followed, in order, each as{"url", "status"}. Empty when there were none.urlstringstatusinteger
bodystringrequiredThe response body. Text for textual content types, otherwise base64. Withrender, the page as HTML after its scripts ran.body_encodingstringrequired"utf8"or"base64". Always check it before usingbody."utf8""base64"truncatedbooleantruewhen the body was cut at your plan's size limit (2 to 25 MB) or bymax_credits.browserstring | nullThe browser the request was sent as.http_versionstring | nullThe HTTP version the target answered with, for exampleHTTP/2.0.attemptsintegerHow many attempts it took: 1 withoutretry.renderedbooleanOnly withrender:true.formatstringThe format that was applied:rawunless you asked for another one and the answer was HTML or a document."raw""markdown""text""clean_html"tokensintegerOnly withformatmarkdown,textorclean_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) andformatconverted it:{"type", "pages", "truncated", "text"}.textisfalsefor a scanned PDF without a text layer.typestring"pdf""docx""xlsx""csv""pptx""odt"pagesintegertruncatedbooleantextboolean
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 | nullerrorstringreasonstring"no_answer""blocked_status""challenge_page""javascript_shell""wait_for_missing""nothing_extracted"creditsinteger
redactedobjectOnly withredact: how many of each kind were blacked out, e.g.{"email": 2}.auto_extractedobject | nullOnly withauto_extract:{"type", "data", "sources", "confidence"}, ornullwhen the page has no such record.typestringdataobjectsourceslist of stringconfidencenumber
tracelist of objectOnly withrender.trace: one entry per step and the end, each{"step", "action", "at_ms", "url", "screenshot", "console"}(JPEG as base64).stepinteger | nullactionstringat_msintegerurlstringscreenshotstringJPEG as base64.consolelist of objectlevelstringtextstring
parsedobjectOnly withparse: the keys you asked for.extractedobjectOnly withextract: your fields.tagstringOnly when you sent them: returned unchanged.echoanyOnly when you sent them: returned unchanged.presetstringOnly withpreset: the preset that was applied.cachedtrueOnly for an answer from the cache:true, when it was fetched and until when it is kept.idis the request that fetched it;cost.creditsis 0.cached_atstringOnly for an answer from the cache:true, when it was fetched and until when it is kept.idis the request that fetched it;cost.creditsis 0.cache_expires_atstringOnly for an answer from the cache:true, when it was fetched and until when it is kept.idis the request that fetched it;cost.creditsis 0.changeobjectOnly withtrack_changes:{"status": "new"|"same"|"changed", "previous_request", "previous_at"}, withdiffalso{"added", "removed", "added_count", "removed_count", "truncated"}.statusstring"new""same""changed""unknown"previous_requeststringprevious_atstringdiffobject | nulladdedlist of stringremovedlist of stringadded_countintegerremoved_countintegertruncatedboolean
screenshotstring | nullOnly withrender: the visible part of the page as a base64 PNG when you asked forscreenshot, otherwisenull.duration_msintegerrequiredTime from our network starting the request to the last byte, all attempts included.exitobjectrequiredipstring | nullThe public IP the target saw.countrystringISO country code of the exit IP.
bytesobjectrequiredupintegerBytes sent and received for the answer you got, including TLS and headers. That is why a 33-byte body shows about 4 kB. Withrender, 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. Withrender, everything the browser loaded for the page.
costobjectrequiredcreditsintegerCredits 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 withrender: the image type ofscreenshot(image/png, image/jpeg or image/webp).pdfstringOnly withrender.pdf: the page as a base64 PDF.stepslist of objectOnly withrender.actions: one entry per step, with its outcome (andvalueforevaluate).capturedlist of objectOnly withrender.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/).
Errors
- 400
invalid_bodyinvalid_urlinvalid_methodinvalid_headersinvalid_paramsinvalid_browserinvalid_localeinvalid_cookiesbody_too_largeinvalid_sessioninvalid_retryinvalid_renderinvalid_formatinvalid_parseinvalid_format_optionsinvalid_redactinvalid_auto_extractinvalid_render_autoinvalid_queryinvalid_extractinvalid_taginvalid_optionsinvalid_timeoutinvalid_idempotency_keyinvalid_deliveryjob_budget_reachedinvalid_scheduleinvalid_destinationinvalid_valueinvalid_preset - 401
invalid_api_key - 402
credits_exhaustedkey_limit_reacheddaily_limit_reached - 403
account_suspendedemail_not_verifiedip_not_allowedtarget_not_allowedinsufficient_scope - 409
idempotency_in_progresstoo_many_schedulestoo_many_destinationspreset_existstoo_many_presets - 413
body_too_large - 422
idempotency_key_reused - 424
search_failedtimeouttarget_unreachableconnection_failedtls_errortoo_many_redirectsrequest_failed - 429
rate_limitedconcurrency_limited - 500
internal_error - 503
busyrender_unavailablerotation_failedexecutor_unavailablemaintenance
GET /v1/raw
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>.
| Parameter | In | Type | Meaning |
|---|---|---|---|
url required | query | string | Absolute http(s) URL. |
session | query | string | Session name. |
fresh_ip | query | string | New IP first (5 credits): true or false (also 1 or 0). |
ip_version | query | string | IP version. One of 4, 6, auto. |
timeout_ms | query | integer | Time limit of one attempt. |
browser | query | string | Browser profile. One of chrome, chrome_mac, chrome_android, edge, firefox, safari, safari_ios, none. |
locale | query | string | Visitor language. |
follow_redirects | query | string | true or false (also 1 or 0) |
max_redirects | query | integer | Redirects at most. 0 to 10. |
cookie_jar | query | string | true or false (also 1 or 0) |
http_version | query | string | HTTP version. One of auto, 1.1. |
insecure | query | string | true or false (also 1 or 0) |
format | query | string | Convert an HTML answer. One of raw, markdown, text, clean_html. |
main_content | query | string | true or false (also 1 or 0) |
tag | query | string | Tag. |
max_credits | query | integer | Cost cap. 1 to 1000. |
render | query | string | Render in a browser: true or false (also 1 or 0). |
timezone | query | string | With render: IANA time zone. |
wait_until | query | string | With 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-IdheaderX-VP-StatusheaderX-VP-CreditsheaderX-VP-Bytes-DownheaderX-VP-Final-URLheader
Errors
- 400
invalid_urlinvalid_methodinvalid_headersinvalid_paramsinvalid_browserinvalid_localeinvalid_cookiesbody_too_largeinvalid_sessioninvalid_retryinvalid_renderinvalid_formatinvalid_parseinvalid_format_optionsinvalid_redactinvalid_auto_extractinvalid_render_autoinvalid_queryinvalid_extractinvalid_taginvalid_optionsinvalid_timeoutinvalid_deliveryjob_budget_reachedinvalid_scheduleinvalid_destinationinvalid_valueinvalid_preset - 401
invalid_api_key - 402
credits_exhaustedkey_limit_reacheddaily_limit_reached - 403
account_suspendedemail_not_verifiedip_not_allowedtarget_not_allowedinsufficient_scope - 413
body_too_large - 424
search_failedtimeouttarget_unreachableconnection_failedtls_errortoo_many_redirectsrequest_failed - 429
rate_limitedconcurrency_limited - 500
internal_error - 503
busyrender_unavailablerotation_failedexecutor_unavailablemaintenance
GET /v1/screenshot
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.
| Parameter | In | Type | Meaning |
|---|---|---|---|
url required | query | string | Absolute http(s) URL. |
full_page | query | string | The whole page: true or false (also 1 or 0). |
selector | query | string | CSS selector of one element instead. |
format | query | string | Image type. One of png, jpeg, webp. Default "png". |
quality | query | integer | JPEG/WebP quality (default 80). 1 to 100. |
width | query | integer | Viewport width in CSS pixels (default 1366 when height or scale is given, otherwise the browser's own size). 240 to 3840. |
height | query | integer | Viewport height. 240 to 4320. |
scale | query | number | Pixel density (default 1 when width or height is given). 0.5 to 4. |
wait_until | query | string | When the page counts as loaded. One of load, domcontentloaded, networkidle. |
wait_for | query | string | CSS selector to wait for. |
wait_ms | query | integer | Extra wait at the end. 0 to 15000. |
scroll | query | integer | Scroll to the bottom this many times first. 0 to 20. |
browser | query | string | Browser profile (default chrome, a desktop browser). One of chrome, chrome_mac, chrome_android, edge, firefox, safari, safari_ios, none. |
locale | query | string | Visitor language. |
timezone | query | string | IANA time zone. |
color_scheme | query | string | prefers-color-scheme. One of light, dark. |
block | query | string | Comma-separated resource types not to load: image, media, font, stylesheet (default none). |
session | query | string | Session name. |
fresh_ip | query | string | true or false (also 1 or 0) |
max_credits | query | integer | Cost cap. 10 to 1000. |
tag | query | string | Tag. |
Answer 200 The image.
image/png, image/jpeg, image/webp
X-VP-Request-IdheaderX-VP-CreditsheaderX-VP-StatusheaderX-VP-Final-URLheader
Errors
- 400
invalid_urlinvalid_methodinvalid_headersinvalid_paramsinvalid_browserinvalid_localeinvalid_cookiesbody_too_largeinvalid_sessioninvalid_retryinvalid_renderinvalid_formatinvalid_parseinvalid_format_optionsinvalid_redactinvalid_auto_extractinvalid_render_autoinvalid_queryinvalid_extractinvalid_taginvalid_optionsinvalid_timeoutinvalid_deliveryjob_budget_reachedinvalid_scheduleinvalid_destinationinvalid_valueinvalid_preset - 401
invalid_api_key - 402
credits_exhaustedkey_limit_reacheddaily_limit_reached - 403
account_suspendedemail_not_verifiedip_not_allowedtarget_not_allowedinsufficient_scope - 413
body_too_large - 422
screenshot_failed - 424
search_failedtimeouttarget_unreachableconnection_failedtls_errortoo_many_redirectsrequest_failed - 429
rate_limitedconcurrency_limited - 500
internal_error - 503
busyrender_unavailablerotation_failedexecutor_unavailablemaintenance
POST /v1/estimate
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
urlstringrequiredAbsolutehttporhttpsURL, up to 8,000 characters. Credentials inside the URL are rejected.methodstringGET,POST,PUT,PATCH,DELETE,HEADorOPTIONS. WithrenderonlyGET."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_iosornone. Withrenderthe default ischrome_android."chrome""chrome_mac""chrome_android""edge""firefox""safari""safari_ios""none"localestringLanguage of the visitor. SetsAccept-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 withsession: remember cookies the site sets for the next requests of the session.jsonanyBody sent as JSON. SetsContent-Type: application/jsonunless 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 ownContent-Type.body_encodingstring"base64"whenbodyis 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 withsession.ip_versionstring"4","6"or"auto"."4""6""auto"follow_redirectsbooleanFollow redirects.falsereturns the redirect response itself.max_redirectsinteger0 to 10. More redirects end withtoo_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 errorstimeout,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 ofrender, without screenshot, PDF, steps, capture).formatstringraw,markdown,textorclean_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_optionsobjectWithformat:include_selector(keep only this part),exclude_selector(leave this out),imagesandlinks(falsedrops 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;truefor all. Counted inredacted.auto_extractstringRead a standard record without selectors:product,article,job,review_list,recipe,event,organization. Result inauto_extracted."product""article""job""review_list""recipe""event""organization"parselist of string | trueStandard recordsproduct,article,organization,breadcrumbscome from the page's structured data. Read outmetadata,links,images,headings,emails,phones,tables,json_ld;truefor all. Result inparsed.extractobjectUp to 50 named fields read from the answer with CSS, XPath or JSON paths. Result inextracted.http_versionstring"auto"or"1.1". Only withoutrender."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 charactersA–Z a–z 0–9 _ . : / -. Stored with the request, returned in the answer, filterable.echoanyUp to 2 KB of your own data, returned unchanged asecho. Useful to match results to your records.cachetrue | objectKeep the answer and give it again to the same request withinmax_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.statusisnew,sameorchanged.{"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
creditsobjectminintegerWhen the target answers with up to 1 MB.maxintegerThe most the request may cost (size limit, browser traffic, retries with a new IP).
partsobjectfactornumberCredit factor of the target (1 for most).max_response_bytesintegerrequestsintegerOnly for a job body.itemslist of objectcredits_remainingintegerfitsbooleanWhether the worst case fits into the credits left (otherwise the request runs with a cost cap of what is left).chargedfalse
Errors
- 400
invalid_bodyinvalid_urlinvalid_methodinvalid_headersinvalid_paramsinvalid_browserinvalid_localeinvalid_cookiesbody_too_largeinvalid_sessioninvalid_retryinvalid_renderinvalid_formatinvalid_parseinvalid_format_optionsinvalid_redactinvalid_auto_extractinvalid_render_autoinvalid_queryinvalid_extractinvalid_taginvalid_optionsinvalid_timeoutinvalid_jobinvalid_deliveryjob_budget_reachedinvalid_scheduleinvalid_destinationinvalid_valueinvalid_preset - 401
invalid_api_key - 403
account_suspendedip_not_allowedtarget_not_allowedinsufficient_scope - 429
rate_limited
GET /v1/pdf
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.
| Parameter | In | Type | Meaning |
|---|---|---|---|
url required | query | string | Absolute http(s) URL. |
wait_until | query | string | When the page counts as loaded. One of load, domcontentloaded, networkidle. |
wait_for | query | string | CSS selector to wait for. |
wait_ms | query | integer | Extra wait at the end. 0 to 15000. |
scroll | query | integer | Scroll to the bottom this many times first (loads lazy content). 0 to 20. |
browser | query | string | Browser profile (default chrome, a desktop browser). One of chrome, chrome_mac, chrome_android, edge, firefox, safari, safari_ios, none. |
locale | query | string | Visitor language. |
timezone | query | string | IANA time zone. |
color_scheme | query | string | prefers-color-scheme. One of light, dark. |
block | query | string | Comma-separated resource types not to load: image, media, font, stylesheet (default none). |
session | query | string | Session name. |
fresh_ip | query | string | true or false (also 1 or 0) |
max_credits | query | integer | Cost cap. 10 to 1000. |
tag | query | string | Tag. |
Answer 200 The PDF.
application/pdf
X-VP-Request-IdheaderX-VP-CreditsheaderX-VP-StatusheaderX-VP-Final-URLheader
Errors
- 400
invalid_urlinvalid_methodinvalid_headersinvalid_paramsinvalid_browserinvalid_localeinvalid_cookiesbody_too_largeinvalid_sessioninvalid_retryinvalid_renderinvalid_formatinvalid_parseinvalid_format_optionsinvalid_redactinvalid_auto_extractinvalid_render_autoinvalid_queryinvalid_extractinvalid_taginvalid_optionsinvalid_timeoutinvalid_deliveryjob_budget_reachedinvalid_scheduleinvalid_destinationinvalid_valueinvalid_preset - 401
invalid_api_key - 402
credits_exhaustedkey_limit_reacheddaily_limit_reached - 403
account_suspendedemail_not_verifiedip_not_allowedtarget_not_allowedinsufficient_scope - 413
body_too_large - 422
pdf_failed - 424
search_failedtimeouttarget_unreachableconnection_failedtls_errortoo_many_redirectsrequest_failed - 429
rate_limitedconcurrency_limited - 500
internal_error - 503
busyrender_unavailablerotation_failedexecutor_unavailablemaintenance
POST /v1/batch
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 orurls.every field in the parameter referenceurlslist of stringAddresses; each is sent with the options inrequest. Either this orrequests.requestobjectWithurls: the options for every URL, as for POST /v1/requests withouturl.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
requestsintegersucceededintegerfailedintegerskippedintegeritemslist of objectOne entry per request, in the order sent.indexintegerstatusstring"succeeded""failed""skipped"responseobjectthe answer of POST /v1/requestsrequest_idstring | nullFor a failed request that was run.errorobjectcodestringmessagestringchargedbooleancreditsinteger
costobjectcreditsintegerAll requests of the batch together.credits_usedintegercredits_includedinteger
duration_msintegertagstringtesttrue
Errors
- 400
invalid_bodyinvalid_urlinvalid_methodinvalid_headersinvalid_paramsinvalid_browserinvalid_localeinvalid_cookiesbody_too_largeinvalid_sessioninvalid_retryinvalid_renderinvalid_formatinvalid_parseinvalid_format_optionsinvalid_redactinvalid_auto_extractinvalid_render_autoinvalid_queryinvalid_extractinvalid_taginvalid_optionsinvalid_timeoutinvalid_deliveryinvalid_batchjob_budget_reachedinvalid_scheduleinvalid_destinationinvalid_valueinvalid_preset - 401
invalid_api_key - 402
credits_exhaustedkey_limit_reacheddaily_limit_reached - 403
account_suspendedemail_not_verifiedip_not_allowedtarget_not_allowedinsufficient_scope - 413
body_too_large - 429
rate_limitedconcurrency_limited - 503
busyrender_unavailablerotation_failedexecutor_unavailablemaintenance
Discovery
Find the addresses of a site.
POST /v1/map
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_subdomainsbooleansearchstringKeep only addresses (or link texts) containing this text, case ignored.limitintegerrenderbooleanLoad the page in a browser first (10 credits or more).robotsstringrespectleaves out addresses robots.txt disallows,reportmarks them withdisallowed: true."ignore""respect""report"browserstring"chrome""chrome_mac""chrome_android""edge""firefox""safari""safari_ios""none"localestringsessionstringmax_creditsintegerBound for all reads of this call together.tagstring
Answer 200 OK · MapResponse
urlstringhoststringThe host after redirects.linkslist of objecturlstringtextstringLink text (page links only).sourcestring"page""sitemap"disallowedtrueWithrobots: report: robots.txt disallows it.
robotsobjectOnly withrobots.modestringreadbooleanstoppedstring
totalintegerAddresses found (after search), before limit.truncatedbooleansitemapsobjectreadintegerstoppedstringWhy reading sitemaps stopped early, if it did.
requestslist of objectEvery read of this call; each is in your request log.idstringurlstringstatusinteger | nullerrorstringcreditsinteger
costobjectcreditsintegerSum of all reads.credits_usedinteger | nullcredits_includedinteger
tagstring
Errors
- 400
invalid_bodyinvalid_urlinvalid_methodinvalid_headersinvalid_paramsinvalid_browserinvalid_localeinvalid_cookiesbody_too_largeinvalid_sessioninvalid_retryinvalid_renderinvalid_formatinvalid_parseinvalid_format_optionsinvalid_redactinvalid_auto_extractinvalid_render_autoinvalid_queryinvalid_extractinvalid_taginvalid_optionsinvalid_timeoutinvalid_mapinvalid_deliveryjob_budget_reachedinvalid_scheduleinvalid_destinationinvalid_valueinvalid_preset - 401
invalid_api_key - 402
credits_exhaustedkey_limit_reacheddaily_limit_reached - 403
account_suspendedemail_not_verifiedip_not_allowedtarget_not_allowedinsufficient_scope - 413
body_too_large - 424
search_failedtimeouttarget_unreachableconnection_failedtls_errortoo_many_redirectsrequest_failed - 429
rate_limitedconcurrency_limited - 500
internal_error - 503
busyrender_unavailablerotation_failedexecutor_unavailablemaintenance
POST /v1/search
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"limitintegerlanguagestringLanguage of the results, e.g.en,deorpt-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 stringexclude_domainslist of stringscrapeboolean | 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
querystringenginestring"duckduckgo"resultslist of objectpositionintegertitlestringurlstringdisplay_urlstringThe address as the engine shows it, when it does.snippetstringdatestringpageobjectOnly withscrape: the fetched page (body,body_encoding,format,tokens,status,final_url,extracted,parsed,auto_extracted,credits), orerrorwith its code.
adslist of objectrelatedlist of stringquestionslist of stringcreditsintegerSum of all requests of this call.requestslist of stringIds of every request of this call; each is in your request log.tagstringtesttrue
Errors
- 400
invalid_bodyinvalid_format_optionsinvalid_redactinvalid_auto_extractinvalid_render_autoinvalid_queryinvalid_deliveryjob_budget_reachedinvalid_scheduleinvalid_destinationinvalid_valueinvalid_preset - 401
invalid_api_key - 402 See the errors page.
- 403
account_suspendedip_not_allowedinsufficient_scope - 413 See the errors page.
- 424
search_failedtimeouttarget_unreachableconnection_failedtls_errortoo_many_redirectsrequest_failed - 429
rate_limited - 500
internal_error - 503
maintenance
Jobs
Many requests and crawls in the background.
POST /v1/crawl
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.
| Parameter | In | Type | Meaning |
|---|---|---|---|
Idempotency-Key | header | string | The 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 inparsed.linksonly if you ask for them.webhookobject{"url", "events"}: where to send the results.urlstringA publichttps://address.eventslist of stringitem(each finished request),item.succeeded,item.failed,item.changed(only pages that changed, withtrack_changes) and/ordone(the whole job).include_bodybooleanfalse: item events carry the figures andid, 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.
tagstringmax_creditsintegerCost cap of the whole crawl: once it has used that many credits, pages not started end asjob_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
idstringstatusstring"queued""running""done""canceled""expired"totalintegerRequests in the job (a crawl grows as it finds pages).succeededintegerfailedintegercanceledintegerpendingintegercreditsintegertagstring | nullwebhookobject | nullurlstringeventslist of stringinclude_bodyfalsemetadataobject
budgetobjectOnly withmax_credits: the cap, what was used and what is left.max_creditsintegerspentintegerleftinteger
created_atstringstarted_atstring | nullfinished_atstring | nullexpires_atstring | nullResults are deleted 24 hours after the end.last_progress_atstring | nullkindstringOnly for crawls."crawl"deliveryobjectOnly withdelivery: where the results go and how it went.destinationstringformatstring"ndjson""json""csv"pathstringstatusstring"pending""delivered""failed"keystringbytesintegerpartsintegerResults above 90 MB are written as numbered parts.keyslist of stringerrorstring
crawlobjectOnly for crawls: the settings.urlstringmax_pagesintegermax_depthintegerinclude_pathslist of stringexclude_pathslist of stringinclude_subdomainsbooleanignore_queryboolean
Answer 202 The crawl was accepted. · Job
idstringstatusstring"queued""running""done""canceled""expired"totalintegerRequests in the job (a crawl grows as it finds pages).succeededintegerfailedintegercanceledintegerpendingintegercreditsintegertagstring | nullwebhookobject | nullurlstringeventslist of stringinclude_bodyfalsemetadataobject
budgetobjectOnly withmax_credits: the cap, what was used and what is left.max_creditsintegerspentintegerleftinteger
created_atstringstarted_atstring | nullfinished_atstring | nullexpires_atstring | nullResults are deleted 24 hours after the end.last_progress_atstring | nullkindstringOnly for crawls."crawl"deliveryobjectOnly withdelivery: where the results go and how it went.destinationstringformatstring"ndjson""json""csv"pathstringstatusstring"pending""delivered""failed"keystringbytesintegerpartsintegerResults above 90 MB are written as numbered parts.keyslist of stringerrorstring
crawlobjectOnly for crawls: the settings.urlstringmax_pagesintegermax_depthintegerinclude_pathslist of stringexclude_pathslist of stringinclude_subdomainsbooleanignore_queryboolean
Errors
- 400
invalid_bodyinvalid_format_optionsinvalid_redactinvalid_auto_extractinvalid_render_autoinvalid_queryinvalid_taginvalid_idempotency_keyinvalid_crawlinvalid_deliveryinvalid_webhookjob_budget_reachedinvalid_scheduleinvalid_destinationinvalid_valueinvalid_preset - 401
invalid_api_key - 403
account_suspendedip_not_allowedinsufficient_scope - 429
rate_limitedtoo_many_jobs
GET /v1/jobs
| Parameter | In | Type | Meaning |
|---|---|---|---|
limit | query | integer | Jobs per page. Default 20. 1 to 100. |
before | query | string | Continue after this job id. |
Answer 200 OK
itemslist of objectidstringstatusstring"queued""running""done""canceled""expired"totalintegerRequests in the job (a crawl grows as it finds pages).succeededintegerfailedintegercanceledintegerpendingintegercreditsintegertagstring | nullwebhookobject | nullurlstringeventslist of stringinclude_bodyfalsemetadataobject
budgetobjectOnly withmax_credits: the cap, what was used and what is left.max_creditsintegerspentintegerleftinteger
created_atstringstarted_atstring | nullfinished_atstring | nullexpires_atstring | nullResults are deleted 24 hours after the end.last_progress_atstring | nullkindstringOnly for crawls."crawl"deliveryobjectOnly withdelivery: where the results go and how it went.destinationstringformatstring"ndjson""json""csv"pathstringstatusstring"pending""delivered""failed"keystringbytesintegerpartsintegerResults above 90 MB are written as numbered parts.keyslist of stringerrorstring
crawlobjectOnly for crawls: the settings.urlstringmax_pagesintegermax_depthintegerinclude_pathslist of stringexclude_pathslist of stringinclude_subdomainsbooleanignore_queryboolean
nextstring | null
Errors
POST /v1/jobs
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).
| Parameter | In | Type | Meaning |
|---|---|---|---|
Idempotency-Key | header | string | The 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 forPOST /v1/requests.every field in the parameter referencerequestobjectA single request instead ofrequests.every field in the parameter referenceurlslist of anyAddresses instead ofrequests; each is sent with the options indefaults.defaultsobjectWithurls: the options for every address (as forPOST /v1/requests, withouturl).max_creditsintegerCost cap of the whole job: once it used that many credits, requests not started end asjob_budget_reached.webhookobject{"url", "events"}: where to send the results.urlstringA publichttps://address.eventslist of stringitem(each finished request),item.succeeded,item.failed,item.changed(only pages that changed, withtrack_changes) and/ordone(the whole job).include_bodybooleanfalse: item events carry the figures andid, 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
idstringstatusstring"queued""running""done""canceled""expired"totalintegerRequests in the job (a crawl grows as it finds pages).succeededintegerfailedintegercanceledintegerpendingintegercreditsintegertagstring | nullwebhookobject | nullurlstringeventslist of stringinclude_bodyfalsemetadataobject
budgetobjectOnly withmax_credits: the cap, what was used and what is left.max_creditsintegerspentintegerleftinteger
created_atstringstarted_atstring | nullfinished_atstring | nullexpires_atstring | nullResults are deleted 24 hours after the end.last_progress_atstring | nullkindstringOnly for crawls."crawl"deliveryobjectOnly withdelivery: where the results go and how it went.destinationstringformatstring"ndjson""json""csv"pathstringstatusstring"pending""delivered""failed"keystringbytesintegerpartsintegerResults above 90 MB are written as numbered parts.keyslist of stringerrorstring
crawlobjectOnly for crawls: the settings.urlstringmax_pagesintegermax_depthintegerinclude_pathslist of stringexclude_pathslist of stringinclude_subdomainsbooleanignore_queryboolean
Answer 202 The job was accepted. · Job
idstringstatusstring"queued""running""done""canceled""expired"totalintegerRequests in the job (a crawl grows as it finds pages).succeededintegerfailedintegercanceledintegerpendingintegercreditsintegertagstring | nullwebhookobject | nullurlstringeventslist of stringinclude_bodyfalsemetadataobject
budgetobjectOnly withmax_credits: the cap, what was used and what is left.max_creditsintegerspentintegerleftinteger
created_atstringstarted_atstring | nullfinished_atstring | nullexpires_atstring | nullResults are deleted 24 hours after the end.last_progress_atstring | nullkindstringOnly for crawls."crawl"deliveryobjectOnly withdelivery: where the results go and how it went.destinationstringformatstring"ndjson""json""csv"pathstringstatusstring"pending""delivered""failed"keystringbytesintegerpartsintegerResults above 90 MB are written as numbered parts.keyslist of stringerrorstring
crawlobjectOnly for crawls: the settings.urlstringmax_pagesintegermax_depthintegerinclude_pathslist of stringexclude_pathslist of stringinclude_subdomainsbooleanignore_queryboolean
Errors
- 400
invalid_bodyinvalid_urlinvalid_methodinvalid_headersinvalid_paramsinvalid_browserinvalid_localeinvalid_cookiesbody_too_largeinvalid_sessioninvalid_retryinvalid_renderinvalid_formatinvalid_parseinvalid_format_optionsinvalid_redactinvalid_auto_extractinvalid_render_autoinvalid_queryinvalid_extractinvalid_taginvalid_optionsinvalid_timeoutinvalid_idempotency_keyinvalid_jobinvalid_deliveryinvalid_webhookjob_budget_reachedinvalid_scheduleinvalid_destinationinvalid_valueinvalid_preset - 401
invalid_api_key - 403
account_suspendedip_not_allowedinsufficient_scope - 429
rate_limitedtoo_many_jobs
GET /v1/jobs/{id}
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.
| Parameter | In | Type | Meaning |
|---|---|---|---|
id required | path | string | The job id. |
wait | query | integer | Wait up to this many seconds for a change. 1 to 30. |
Answer 200 OK · Job
idstringstatusstring"queued""running""done""canceled""expired"totalintegerRequests in the job (a crawl grows as it finds pages).succeededintegerfailedintegercanceledintegerpendingintegercreditsintegertagstring | nullwebhookobject | nullurlstringeventslist of stringinclude_bodyfalsemetadataobject
budgetobjectOnly withmax_credits: the cap, what was used and what is left.max_creditsintegerspentintegerleftinteger
created_atstringstarted_atstring | nullfinished_atstring | nullexpires_atstring | nullResults are deleted 24 hours after the end.last_progress_atstring | nullkindstringOnly for crawls."crawl"deliveryobjectOnly withdelivery: where the results go and how it went.destinationstringformatstring"ndjson""json""csv"pathstringstatusstring"pending""delivered""failed"keystringbytesintegerpartsintegerResults above 90 MB are written as numbered parts.keyslist of stringerrorstring
crawlobjectOnly for crawls: the settings.urlstringmax_pagesintegermax_depthintegerinclude_pathslist of stringexclude_pathslist of stringinclude_subdomainsbooleanignore_queryboolean
Errors
DELETE /v1/jobs/{id}
Requests that have not started are canceled (not charged); running ones finish.
| Parameter | In | Type | Meaning |
|---|---|---|---|
id required | path | string | The job id. |
Answer 200 OK · Job
idstringstatusstring"queued""running""done""canceled""expired"totalintegerRequests in the job (a crawl grows as it finds pages).succeededintegerfailedintegercanceledintegerpendingintegercreditsintegertagstring | nullwebhookobject | nullurlstringeventslist of stringinclude_bodyfalsemetadataobject
budgetobjectOnly withmax_credits: the cap, what was used and what is left.max_creditsintegerspentintegerleftinteger
created_atstringstarted_atstring | nullfinished_atstring | nullexpires_atstring | nullResults are deleted 24 hours after the end.last_progress_atstring | nullkindstringOnly for crawls."crawl"deliveryobjectOnly withdelivery: where the results go and how it went.destinationstringformatstring"ndjson""json""csv"pathstringstatusstring"pending""delivered""failed"keystringbytesintegerpartsintegerResults above 90 MB are written as numbered parts.keyslist of stringerrorstring
crawlobjectOnly for crawls: the settings.urlstringmax_pagesintegermax_depthintegerinclude_pathslist of stringexclude_pathslist of stringinclude_subdomainsbooleanignore_queryboolean
Errors
GET /v1/jobs/{id}/results
| Parameter | In | Type | Meaning |
|---|---|---|---|
id required | path | string | The job id. |
offset | query | integer | First index. Default 0. 0 to …. |
limit | query | integer | Items per page. Default 100. 1 to 100. |
status | query | string | Only items with this status. One of queued, running, succeeded, failed, canceled. |
Answer 200 OK · JobResults
jobobjectidstringstatusstring"queued""running""done""canceled""expired"totalintegerRequests in the job (a crawl grows as it finds pages).succeededintegerfailedintegercanceledintegerpendingintegercreditsintegertagstring | nullwebhookobject | nullurlstringeventslist of stringinclude_bodyfalsemetadataobject
budgetobjectOnly withmax_credits: the cap, what was used and what is left.max_creditsintegerspentintegerleftinteger
created_atstringstarted_atstring | nullfinished_atstring | nullexpires_atstring | nullResults are deleted 24 hours after the end.last_progress_atstring | nullkindstringOnly for crawls."crawl"deliveryobjectOnly withdelivery: where the results go and how it went.destinationstringformatstring"ndjson""json""csv"pathstringstatusstring"pending""delivered""failed"keystringbytesintegerpartsintegerResults above 90 MB are written as numbered parts.keyslist of stringerrorstring
crawlobjectOnly for crawls: the settings.urlstringmax_pagesintegermax_depthintegerinclude_pathslist of stringexclude_pathslist of stringinclude_subdomainsbooleanignore_queryboolean
itemslist of objectindexintegerstatusstringurlstring | nulldepthintegerOnly for crawls: links away from the start page.request_idstring | nullcreditsintegerfinished_atstring | nullresponseobjectthe answer of POST /v1/requestserrorobjectcodestringmessagestring
next_offsetinteger | null
Errors
GET /v1/jobs/{id}/stream
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.
| Parameter | In | Type | Meaning |
|---|---|---|---|
id required | path | string | The job id. |
after | query | integer | Only items after this index (from a reconnect line or your last item). |
include_body | query | string | Include page bodies, screenshots and PDFs (default true). One of true, false, 1, 0. |
Answer 200 The stream.
application/x-ndjson
Errors
- 400
invalid_format_optionsinvalid_redactinvalid_auto_extractinvalid_render_autoinvalid_queryinvalid_deliveryjob_budget_reachedinvalid_scheduleinvalid_destinationinvalid_valueinvalid_preset - 401
invalid_api_key - 403
account_suspendedip_not_allowedinsufficient_scope - 404
not_foundjob_expiredanswer_not_keptpreset_not_found
GET /v1/jobs/{id}/export
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.
| Parameter | In | Type | Meaning |
|---|---|---|---|
id required | path | string | The job id. |
format | query | string | File format. One of ndjson, csv, json. Default "ndjson". |
status | query | string | Only items with this status. One of queued, running, succeeded, failed, canceled. |
include_body | query | string | Include 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
jobobjectidstringstatusstring"queued""running""done""canceled""expired"totalintegerRequests in the job (a crawl grows as it finds pages).succeededintegerfailedintegercanceledintegerpendingintegercreditsintegertagstring | nullwebhookobject | nullurlstringeventslist of stringinclude_bodyfalsemetadataobject
budgetobjectOnly withmax_credits: the cap, what was used and what is left.max_creditsintegerspentintegerleftinteger
created_atstringstarted_atstring | nullfinished_atstring | nullexpires_atstring | nullResults are deleted 24 hours after the end.last_progress_atstring | nullkindstringOnly for crawls."crawl"deliveryobjectOnly withdelivery: where the results go and how it went.destinationstringformatstring"ndjson""json""csv"pathstringstatusstring"pending""delivered""failed"keystringbytesintegerpartsintegerResults above 90 MB are written as numbered parts.keyslist of stringerrorstring
crawlobjectOnly for crawls: the settings.urlstringmax_pagesintegermax_depthintegerinclude_pathslist of stringexclude_pathslist of stringinclude_subdomainsbooleanignore_queryboolean
itemslist of objectindexintegerstatusstringurlstring | nulldepthintegerOnly for crawls: links away from the start page.request_idstring | nullcreditsintegerfinished_atstring | nullresponseobjectthe answer of POST /v1/requestserrorobjectcodestringmessagestring
next_offsetinteger | null
Also as application/x-ndjson, text/csv.
Errors
- 400
invalid_format_optionsinvalid_redactinvalid_auto_extractinvalid_render_autoinvalid_queryinvalid_deliveryjob_budget_reachedinvalid_scheduleinvalid_destinationinvalid_valueinvalid_preset - 401
invalid_api_key - 403
account_suspendedip_not_allowedinsufficient_scope - 404
not_foundjob_expiredanswer_not_keptpreset_not_found
POST /v1/jobs/{id}/retry
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.
| Parameter | In | Type | Meaning |
|---|---|---|---|
id required | path | string | The job id. |
Answer 202 The new job was accepted. · Job
idstringstatusstring"queued""running""done""canceled""expired"totalintegerRequests in the job (a crawl grows as it finds pages).succeededintegerfailedintegercanceledintegerpendingintegercreditsintegertagstring | nullwebhookobject | nullurlstringeventslist of stringinclude_bodyfalsemetadataobject
budgetobjectOnly withmax_credits: the cap, what was used and what is left.max_creditsintegerspentintegerleftinteger
created_atstringstarted_atstring | nullfinished_atstring | nullexpires_atstring | nullResults are deleted 24 hours after the end.last_progress_atstring | nullkindstringOnly for crawls."crawl"deliveryobjectOnly withdelivery: where the results go and how it went.destinationstringformatstring"ndjson""json""csv"pathstringstatusstring"pending""delivered""failed"keystringbytesintegerpartsintegerResults above 90 MB are written as numbered parts.keyslist of stringerrorstring
crawlobjectOnly for crawls: the settings.urlstringmax_pagesintegermax_depthintegerinclude_pathslist of stringexclude_pathslist of stringinclude_subdomainsbooleanignore_queryboolean
Errors
- 400
invalid_format_optionsinvalid_redactinvalid_auto_extractinvalid_render_autoinvalid_queryinvalid_deliveryjob_budget_reachedinvalid_scheduleinvalid_destinationinvalid_valueinvalid_preset - 401
invalid_api_key - 403
account_suspendedip_not_allowedinsufficient_scope - 404
not_foundjob_expiredanswer_not_keptpreset_not_found - 409
nothing_to_retrytoo_many_schedulestoo_many_destinationspreset_existstoo_many_presets - 429
rate_limitedtoo_many_jobs
Account
Credits, limits and your request log.
GET /v1/requests
Newest first, 1 to 100 per page; next continues the list as before.
| Parameter | In | Type | Meaning |
|---|---|---|---|
limit | query | integer | Records per page. Default 50. 1 to 100. |
result | query | string | Only answers below 400, only answers of 400 and above, or only requests without an answer. One of ok, http_error, failed. |
since | query | string | Only this recent. One of 24h, 7d, 30d, 90d. |
tag | query | string | Only requests with this tag. |
before | query | string | Continue after this request id (next of the previous page). |
host | query | string | Only targets whose host contains this text. |
kind | query | string | Only 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. |
key | query | string | Only requests of this key (its id). |
from | query | string | From this time on (ISO 8601). |
to | query | string | Before this time (ISO 8601). |
status_class | query | string | Only answers of the target with a status in this class. One of 2xx, 3xx, 4xx, 5xx. |
status | query | integer | Only answers with exactly this status. 100 to 599. |
error | query | string | Only failed requests with this error code (e.g. timeout). |
min_ms | query | integer | Only requests that took at least this long. 0 to …. |
fresh_ip | query | boolean | Only requests with (true) or without (false) a new IP. |
charged | query | boolean | Only charged (true) or free (false) requests. |
Answer 200 OK
itemslist of objectidstringcreated_atstringmethodstringtarget_hoststringokbooleanfalse when the target never answered.statusinteger | nullerrorstring | nullexitobjectipstring | nullcountrystring
bytesobjectupintegerdowninteger
duration_msinteger | nullcostobjectcreditsintegerpartsobjectOf the credits: the browser part, the new-IP part and the AI part.
fresh_ipbooleantagstring | nullkindstring | null"page""render""screenshot""pdf""batch""job""crawl""map""mcp""search"nullkey_idstring | nullThe key that sent it.
nextstring | null
Errors
GET /v1/requests/{id}
Figures of one of your requests (not its content).
| Parameter | In | Type | Meaning |
|---|---|---|---|
id required | path | string | The request id. |
Answer 200 OK · RequestRecord
idstringcreated_atstringmethodstringtarget_hoststringokbooleanfalse when the target never answered.statusinteger | nullerrorstring | nullexitobjectipstring | nullcountrystring
bytesobjectupintegerdowninteger
duration_msinteger | nullcostobjectcreditsintegerpartsobjectOf the credits: the browser part, the new-IP part and the AI part.renderintegerfresh_ipintegeraiinteger
fresh_ipbooleantagstring | nullkindstring | null"page""render""screenshot""pdf""batch""job""crawl""map""mcp""search"nullkey_idstring | nullThe key that sent it.
Errors
GET /v1/requests/{id}/answer
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.
| Parameter | In | Type | Meaning |
|---|---|---|---|
id required | path | string | The request id. |
Answer 200 OK
request_idstringhttp_statusintegercreated_atstringexpires_atstringanswerobjectthe answer of POST /v1/requests
Errors
GET /v1/limits
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
concurrencyobjectlimitintegerin_useintegerpeak_todayinteger
rateobjectlimitintegerRequests per second.nownumberavg_5snumberpeak_todaynumber
daily_capobject | nullOnly with a daily cap set.capintegerusedintegerleftintegerresets_atstring
keyobject | nullidstringcredit_limitinteger | nulldaily_limitinteger | nulldaily_usedintegerdaily_leftinteger | null
test_modetrue
Errors
PATCH /v1/account/settings
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.
Errors
- 400
invalid_bodyinvalid_format_optionsinvalid_redactinvalid_auto_extractinvalid_render_autoinvalid_queryinvalid_deliveryjob_budget_reachedinvalid_scheduleinvalid_destinationinvalid_valueinvalid_preset - 401
invalid_api_key - 403
account_suspendedip_not_allowedkey_management_not_allowedinsufficient_scope - 429
rate_limited
GET /v1/account
Answer 200 OK · Account
idstringplanstring"free""starter""growth""scale"statusstringcreditsobjectincludedintegerusedintegerextraintegerremaininginteger
period_startstring | nullperiod_endstring | nulllimitsobjectconcurrencyintegerrequests_per_secondintegermax_response_bytesintegertimeout_msintegerpriorityintegerrequests_per_jobintegerrequests_per_batchinteger
test_modetrueOnly when called with a test key.
Errors
GET /v1/usage
Days without requests are left out of data.
| Parameter | In | Type | Meaning |
|---|---|---|---|
days | query | integer | Days back, today included. Default 30. 1 to 90. |
tag | query | string | Only requests with this tag. |
Answer 200 OK · Usage
daysintegerfromstringtostringtagstringdatalist of objectdaystringrequestsintegersuccessfulintegercreditsintegerbytes_downintegerbytes_upinteger
Errors
GET /v1/usage/breakdown
With a time series per row. Up to 30 per minute.
| Parameter | In | Type | Meaning |
|---|---|---|---|
by | query | string | Group by. One of host, key, tag. Default "host". |
since | query | string | Period. One of 24h, 7d, 30d, 90d. Default "7d". |
sort | query | string | Order. One of requests, credits, failed, avg_ms. Default "requests". |
limit | query | integer | Rows. Default 20. 1 to 100. |
tag | query | string | Only this tag. |
key | query | string | Only this key (its id). |
Answer 200 OK
by, since, sort, bucket (hour or day), buckets, total and items with their series.
Errors
- 400
invalid_format_optionsinvalid_redactinvalid_auto_extractinvalid_render_autoinvalid_queryinvalid_taginvalid_deliveryjob_budget_reachedinvalid_scheduleinvalid_destinationinvalid_valueinvalid_preset - 401
invalid_api_key - 403
account_suspendedip_not_allowedinsufficient_scope - 429
rate_limited
Keys and webhooks
Manage API keys and webhook settings from your own tools.
GET /v1/destinations
Answer 200 OK
itemslist of objectidstringnamestringtype"s3"endpointstring | nullregionstringbucketstringprefixstringaccess_key_idstringpath_styleboolean | nullcreated_atstringlast_testobject | nullatstringokbooleanerrorstring
limitinteger
Errors
POST /v1/destinations
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
namestringrequiredtype"s3"endpointstring | nullThe https address of the service; leave out for AWS S3.regionstringCloudflare R2:auto.bucketstringrequiredprefixstringA folder in the bucket, e.g.virginproxy/.access_key_idstringrequiredsecret_access_keystringrequiredpath_stylebooleanAddress the bucket as <endpoint>/<bucket> (default for services other than AWS) or as <bucket>.<endpoint>.
Answer 201 Created. · Destination
idstringnamestringtype"s3"endpointstring | nullregionstringbucketstringprefixstringaccess_key_idstringpath_styleboolean | nullcreated_atstringlast_testobject | nullatstringokbooleanerrorstring
Errors
- 400
invalid_bodyinvalid_format_optionsinvalid_redactinvalid_auto_extractinvalid_render_autoinvalid_queryinvalid_deliveryjob_budget_reachedinvalid_scheduleinvalid_destinationinvalid_valueinvalid_preset - 401
invalid_api_key - 403
account_suspendedip_not_allowedkey_management_not_allowedinsufficient_scope - 409
too_many_schedulestoo_many_destinationspreset_existstoo_many_presets
DELETE /v1/destinations/{id}
| Parameter | In | Type | Meaning |
|---|---|---|---|
id required | path | string | The destination id. |
Answer 200 OK
deletedtrueidstring
POST /v1/destinations/{id}/test
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.
| Parameter | In | Type | Meaning |
|---|---|---|---|
id required | path | string | The destination id. |
Answer 200 OK
okbooleankeystringerrorstring
GET /v1/keys
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 objectidstringnamestringprefixstringThe visible start of the key, e.g. vp_live_Ab3d.modestring"live""test"ip_allowlistlist of stringcredit_limitinteger | nulldaily_limitinteger | nullCredits this key may use per UTC day; null = no daily limit.last_used_atstring | nullcreated_atstringcurrentbooleanThis 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.usageobjectperiod_creditsintegerCredits in the current period (what counts against credit_limit).requests_30dintegercredits_30dinteger
max_keysintegerperiod_startstring | null
Errors
POST /v1/keys
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
namestringrequiredmodestringtest: 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
idstringnamestringprefixstringmodestringkeystringThe full key. Shown only here.credit_limitinteger | nulldaily_limitinteger | nullip_allowlistlist of stringscopeslist 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 | nullcreated_atstringnotestring
Errors
- 400
invalid_bodyinvalid_format_optionsinvalid_redactinvalid_auto_extractinvalid_render_autoinvalid_queryinvalid_deliveryjob_budget_reachedinvalid_scheduleinvalid_destinationinvalid_scopesinvalid_expiryinvalid_valueinvalid_presetinvalid_nameinvalid_ip_listinvalid_limit - 401
invalid_api_key - 403
account_suspendedip_not_allowedkey_management_not_allowedinsufficient_scope - 409
too_many_schedulestoo_many_destinationstoo_many_keyspreset_existstoo_many_presets - 429
rate_limited
PATCH /v1/keys/{id}
An IP list that would lock out the key you are calling with is refused (own_key).
| Parameter | In | Type | Meaning |
|---|---|---|---|
id required | path | string | The key id (from GET /v1/keys). |
Request body application/json · KeyUpdate
namestringcredit_limitinteger | nulldaily_limitinteger | nullip_allowlistlist of string | nullscopeslist of string | nullOnly within the calling key's own permissions.expires_atstring | nullnull removes the expiry date.
Answer 200 OK · Key
idstringnamestringprefixstringThe visible start of the key, e.g. vp_live_Ab3d.modestring"live""test"ip_allowlistlist of stringcredit_limitinteger | nulldaily_limitinteger | nullCredits this key may use per UTC day; null = no daily limit.last_used_atstring | nullcreated_atstringcurrentbooleanThis 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.usageobjectperiod_creditsintegerCredits in the current period (what counts against credit_limit).requests_30dintegercredits_30dinteger
Errors
- 400
invalid_bodyinvalid_format_optionsinvalid_redactinvalid_auto_extractinvalid_render_autoinvalid_queryinvalid_deliveryjob_budget_reachedinvalid_scheduleinvalid_destinationinvalid_scopesinvalid_expiryinvalid_valueinvalid_presetinvalid_nameinvalid_ip_listinvalid_limitnothing_to_change - 401
invalid_api_key - 403
account_suspendedip_not_allowedkey_management_not_allowedinsufficient_scope - 404
not_foundanswer_not_keptpreset_not_found - 409
too_many_schedulestoo_many_destinationsown_keypreset_existstoo_many_presets - 429
rate_limited
DELETE /v1/keys/{id}
The key stops working at once. Revoking the key you are calling with needs ?confirm=revoke_current_key.
| Parameter | In | Type | Meaning |
|---|---|---|---|
id required | path | string | The key id. |
confirm | query | string | Only to revoke the key of this call. One of revoke_current_key. |
Answer 200 OK
idstringrevokedtruecurrentboolean
Errors
POST /v1/keys/{id}/roll
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.
| Parameter | In | Type | Meaning |
|---|---|---|---|
id required | path | string | The key to roll. |
Request body application/json
gracestring"1h""24h""7d"
Answer 201 The new key was created.
any
Errors
- 400
invalid_bodyinvalid_format_optionsinvalid_redactinvalid_auto_extractinvalid_render_autoinvalid_queryinvalid_deliveryjob_budget_reachedinvalid_scheduleinvalid_destinationinvalid_graceinvalid_valueinvalid_preset - 401
invalid_api_key - 403
account_suspendedip_not_allowedkey_management_not_allowedinsufficient_scope - 404
not_foundanswer_not_keptpreset_not_found - 409
too_many_schedulestoo_many_destinationscannot_rolltoo_many_keyspreset_existstoo_many_presets - 429
rate_limited
GET /v1/webhooks
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.
| Parameter | In | Type | Meaning |
|---|---|---|---|
limit | query | integer | Deliveries. 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 objectidstringjob_idstring | nullnull for an alert of the account webhook (event alert.…).eventstringjob.item, job.done, or alert.… for the account webhook for alerts.indexinteger | nullurlstringstatusstring"pending""delivered""failed"attemptsintegernext_attempt_atstring | nulllast_codeinteger | nulllast_errorstring | nulllast_attempt_atstring | nullcreated_atstringdelivered_atstring | nullredeliverablebooleanCan be sent again (finished, and its last attempt less than 72 hours ago).redelivered_atstring | nullWhen it was last sent again on request.
Errors
POST /v1/webhooks/secret
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
secretstringprevious_untilstring | nullnotestring
Errors
- 400
invalid_bodyinvalid_format_optionsinvalid_redactinvalid_auto_extractinvalid_render_autoinvalid_queryinvalid_deliveryjob_budget_reachedinvalid_scheduleinvalid_destinationinvalid_graceinvalid_valueinvalid_preset - 401
invalid_api_key - 403
account_suspendedip_not_allowedkey_management_not_allowedinsufficient_scope - 429
rate_limited
GET /v1/webhooks/deliveries
Newest first, from the last 7 days. Continue with before = the next of the previous page.
| Parameter | In | Type | Meaning |
|---|---|---|---|
status | query | string | Only this state. One of pending, delivered, failed. |
event | query | string | job.item, job.done, alert (every alert) or one alert.… event. |
job | query | string | Only deliveries of this job. |
before | query | string | Continue after this delivery. |
limit | query | integer | Deliveries per page. Default 50. 1 to 100. |
Answer 200 OK
itemslist of objectidstringjob_idstring | nullnull for an alert of the account webhook (event alert.…).eventstringjob.item, job.done, or alert.… for the account webhook for alerts.indexinteger | nullurlstringstatusstring"pending""delivered""failed"attemptsintegernext_attempt_atstring | nulllast_codeinteger | nulllast_errorstring | nulllast_attempt_atstring | nullcreated_atstringdelivered_atstring | nullredeliverablebooleanCan be sent again (finished, and its last attempt less than 72 hours ago).redelivered_atstring | nullWhen it was last sent again on request.
nextstring | nullkeep_hoursinteger
Errors
- 400
invalid_format_optionsinvalid_redactinvalid_auto_extractinvalid_render_autoinvalid_queryinvalid_deliveryjob_budget_reachedinvalid_scheduleinvalid_destinationinvalid_valueinvalid_presetinvalid_limit - 401
invalid_api_key - 403
account_suspendedip_not_allowedkey_management_not_allowedinsufficient_scope - 429
rate_limited
GET /v1/webhooks/deliveries/{id}
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).
| Parameter | In | Type | Meaning |
|---|---|---|---|
id required | path | string | The delivery id. |
Answer 200 OK
any
Errors
POST /v1/webhooks/test
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
idstringeventstringurlstringdeliveredbooleanYour endpoint answered with 2xx.status_codeinteger | nullerrorstringduration_msinteger
Errors
- 400
invalid_bodyinvalid_format_optionsinvalid_redactinvalid_auto_extractinvalid_render_autoinvalid_queryinvalid_deliveryjob_budget_reachedinvalid_scheduleinvalid_destinationinvalid_valueinvalid_preset - 401
invalid_api_key - 403
account_suspendedip_not_allowedkey_management_not_allowedinsufficient_scope - 429
rate_limited
POST /v1/webhooks/deliveries/{id}/redeliver
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.
| Parameter | In | Type | Meaning |
|---|---|---|---|
id required | path | string | The delivery id (from GET /v1/webhooks). |
Answer 200 The delivery is queued again (status pending). · WebhookDelivery
idstringjob_idstring | nullnull for an alert of the account webhook (event alert.…).eventstringjob.item, job.done, or alert.… for the account webhook for alerts.indexinteger | nullurlstringstatusstring"pending""delivered""failed"attemptsintegernext_attempt_atstring | nulllast_codeinteger | nulllast_errorstring | nulllast_attempt_atstring | nullcreated_atstringdelivered_atstring | nullredeliverablebooleanCan be sent again (finished, and its last attempt less than 72 hours ago).redelivered_atstring | nullWhen it was last sent again on request.
Errors
Presets and schedules
Saved request options, and jobs or crawls that run again every interval with a cost cap.
GET /v1/presets
Answer 200 OK
itemslist of objectnamestringdescriptionstring | nullrequestobjectcreated_atstringupdated_atstring
max_presetsinteger
Errors
POST /v1/presets
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
namestringdescriptionstring | nullrequestobjectRequest options as for POST /v1/requests, withouturl(checked when saved).
Answer 201 Created. · Preset
namestringdescriptionstring | nullrequestobjectcreated_atstringupdated_atstring
Errors
- 400
invalid_bodyinvalid_format_optionsinvalid_redactinvalid_auto_extractinvalid_render_autoinvalid_queryinvalid_deliveryjob_budget_reachedinvalid_scheduleinvalid_destinationinvalid_valueinvalid_preset - 401
invalid_api_key - 403
account_suspendedip_not_allowedkey_management_not_allowedinsufficient_scope - 409
too_many_schedulestoo_many_destinationspreset_existstoo_many_presets
GET /v1/presets/{name}
| Parameter | In | Type | Meaning |
|---|---|---|---|
name required | path | string |
Answer 200 OK · Preset
namestringdescriptionstring | nullrequestobjectcreated_atstringupdated_atstring
Errors
PATCH /v1/presets/{name}
| Parameter | In | Type | Meaning |
|---|---|---|---|
name required | path | string |
Request body application/json · PresetBody
namestringdescriptionstring | nullrequestobjectRequest options as for POST /v1/requests, withouturl(checked when saved).
Answer 200 OK · Preset
namestringdescriptionstring | nullrequestobjectcreated_atstringupdated_atstring
Errors
- 400
invalid_bodyinvalid_format_optionsinvalid_redactinvalid_auto_extractinvalid_render_autoinvalid_queryinvalid_deliveryjob_budget_reachedinvalid_scheduleinvalid_destinationinvalid_valueinvalid_preset - 401
invalid_api_key - 403
account_suspendedip_not_allowedkey_management_not_allowedinsufficient_scope - 404
answer_not_keptpreset_not_found - 409
too_many_schedulestoo_many_destinationspreset_existstoo_many_presets
DELETE /v1/presets/{name}
| Parameter | In | Type | Meaning |
|---|---|---|---|
name required | path | string |
Answer 200 OK
deletedtruenamestring
Errors
GET /v1/schedules
Answer 200 OK
itemslist of objectidstringnamestring | nulleverystringrhythmstringThe rhythm in words, also for the fixed codes.time_zonestringOnly for wall-clock rhythms: the zone they run in.notifyobjectemailbooleanwebhookboolean
trackstring | nullgoalstringOnly when set.next_runslist of stringThe next three runs (empty when paused).kindstring"job""crawl"jobobjectcrawlobjectmax_creditsintegerstatusstring"active""paused"paused_reasonstring | null"by_you""credits_exhausted""daily_limit_reached""key_limit_reached""key_revoked""account_suspended""email_not_verified"nullnext_run_atstring | nulllast_run_atstring | nulllast_jobstring | nullrunsintegercreated_atstring
limitsobject
Errors
POST /v1/schedules
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 | nulleverystringA 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 | nullWithtrack: when a run finds new, removed or changed pages. E-mail at most once per hour and schedule.emailbooleanwebhookbooleanTo your alert webhook asalert.monitor_changed.
trackstring | nullpages: compare every run with the last one (a monitor); see/v1/schedules/{id}/reports."pages"nullgoalstring | nullWithtrack: 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
idstringnamestring | nulleverystringrhythmstringThe rhythm in words, also for the fixed codes.time_zonestringOnly for wall-clock rhythms: the zone they run in.notifyobjectemailbooleanwebhookboolean
trackstring | nullgoalstringOnly when set.next_runslist of stringThe next three runs (empty when paused).kindstring"job""crawl"jobobjectcrawlobjectmax_creditsintegerstatusstring"active""paused"paused_reasonstring | null"by_you""credits_exhausted""daily_limit_reached""key_limit_reached""key_revoked""account_suspended""email_not_verified"nullnext_run_atstring | nulllast_run_atstring | nulllast_jobstring | nullrunsintegercreated_atstring
Errors
- 400
invalid_bodyinvalid_format_optionsinvalid_redactinvalid_auto_extractinvalid_render_autoinvalid_queryinvalid_deliveryjob_budget_reachedinvalid_scheduleinvalid_destinationinvalid_valueinvalid_preset - 401
invalid_api_key - 403
account_suspendedip_not_allowedkey_management_not_allowedinsufficient_scope - 409
too_many_schedulestoo_many_destinationspreset_existstoo_many_presets
GET /v1/schedules/{id}
| Parameter | In | Type | Meaning |
|---|---|---|---|
id required | path | string | The schedule id. |
Answer 200 OK · Schedule
idstringnamestring | nulleverystringrhythmstringThe rhythm in words, also for the fixed codes.time_zonestringOnly for wall-clock rhythms: the zone they run in.notifyobjectemailbooleanwebhookboolean
trackstring | nullgoalstringOnly when set.next_runslist of stringThe next three runs (empty when paused).kindstring"job""crawl"jobobjectcrawlobjectmax_creditsintegerstatusstring"active""paused"paused_reasonstring | null"by_you""credits_exhausted""daily_limit_reached""key_limit_reached""key_revoked""account_suspended""email_not_verified"nullnext_run_atstring | nulllast_run_atstring | nulllast_jobstring | nullrunsintegercreated_atstring
Errors
PATCH /v1/schedules/{id}
| Parameter | In | Type | Meaning |
|---|---|---|---|
id required | path | string | The schedule id. |
Request body application/json · ScheduleBody
namestring | nulleverystringA 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 | nullWithtrack: when a run finds new, removed or changed pages. E-mail at most once per hour and schedule.emailbooleanwebhookbooleanTo your alert webhook asalert.monitor_changed.
trackstring | nullpages: compare every run with the last one (a monitor); see/v1/schedules/{id}/reports."pages"nullgoalstring | nullWithtrack: 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
idstringnamestring | nulleverystringrhythmstringThe rhythm in words, also for the fixed codes.time_zonestringOnly for wall-clock rhythms: the zone they run in.notifyobjectemailbooleanwebhookboolean
trackstring | nullgoalstringOnly when set.next_runslist of stringThe next three runs (empty when paused).kindstring"job""crawl"jobobjectcrawlobjectmax_creditsintegerstatusstring"active""paused"paused_reasonstring | null"by_you""credits_exhausted""daily_limit_reached""key_limit_reached""key_revoked""account_suspended""email_not_verified"nullnext_run_atstring | nulllast_run_atstring | nulllast_jobstring | nullrunsintegercreated_atstring
Errors
- 400
invalid_bodyinvalid_format_optionsinvalid_redactinvalid_auto_extractinvalid_render_autoinvalid_queryinvalid_deliveryjob_budget_reachedinvalid_scheduleinvalid_destinationinvalid_valueinvalid_preset - 401
invalid_api_key - 403
account_suspendedip_not_allowedkey_management_not_allowedinsufficient_scope - 404
not_foundanswer_not_keptpreset_not_found
DELETE /v1/schedules/{id}
| Parameter | In | Type | Meaning |
|---|---|---|---|
id required | path | string | The schedule id. |
Answer 200 OK
deletedtrueidstring
Errors
POST /v1/schedules/preview
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
everystringallowedbooleanshortest_everystringtime_zonestringnext_runslist of string
GET /v1/schedules/{id}/reports
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).
| Parameter | In | Type | Meaning |
|---|---|---|---|
id required | path | string | The schedule id. |
limit | query | integer | Default 20. 1 to 50. |
Answer 200 OK
itemslist of objectjudgementobjectOnly for monitors with a goal: whether the change mattered, and why.meaningfulbooleanreasonstring
jobstringatstringfirst_runbooleanThe first run only records the pages; nothing is reported as new.pagesintegercountsobjectaddedintegerremovedintegerchangedinteger
addedlist of stringremovedlist of stringchangedlist of string
POST /v1/schedules/{id}/run
Also for a paused schedule; the next regular run stays as planned.
| Parameter | In | Type | Meaning |
|---|---|---|---|
id required | path | string | The schedule id. |
Answer 202 Started.
scheduleobjectidstringnamestring | nulleverystringrhythmstringThe rhythm in words, also for the fixed codes.time_zonestringOnly for wall-clock rhythms: the zone they run in.notifyobjectemailbooleanwebhookboolean
trackstring | nullgoalstringOnly when set.next_runslist of stringThe next three runs (empty when paused).kindstring"job""crawl"jobobjectcrawlobjectmax_creditsintegerstatusstring"active""paused"paused_reasonstring | null"by_you""credits_exhausted""daily_limit_reached""key_limit_reached""key_revoked""account_suspended""email_not_verified"nullnext_run_atstring | nulllast_run_atstring | nulllast_jobstring | nullrunsintegercreated_atstring
jobobjectidstringstatusstring"queued""running""done""canceled""expired"totalintegerRequests in the job (a crawl grows as it finds pages).succeededintegerfailedintegercanceledintegerpendingintegercreditsintegertagstring | nullwebhookobject | nullurlstringeventslist of stringinclude_bodyfalsemetadataobject
budgetobjectOnly withmax_credits: the cap, what was used and what is left.max_creditsintegerspentintegerleftinteger
created_atstringstarted_atstring | nullfinished_atstring | nullexpires_atstring | nullResults are deleted 24 hours after the end.last_progress_atstring | nullkindstringOnly for crawls."crawl"deliveryobjectOnly withdelivery: where the results go and how it went.destinationstringformatstring"ndjson""json""csv"pathstringstatusstring"pending""delivered""failed"keystringbytesintegerpartsintegerResults above 90 MB are written as numbered parts.keyslist of stringerrorstring
crawlobjectOnly for crawls: the settings.urlstringmax_pagesintegermax_depthintegerinclude_pathslist of stringexclude_pathslist of stringinclude_subdomainsbooleanignore_queryboolean
Errors
- 400
invalid_format_optionsinvalid_redactinvalid_auto_extractinvalid_render_autoinvalid_queryinvalid_deliveryjob_budget_reachedinvalid_scheduleinvalid_destinationinvalid_valueinvalid_preset - 401
invalid_api_key - 402 See the errors page.
- 403
account_suspendedip_not_allowedkey_management_not_allowedinsufficient_scope - 404
not_foundanswer_not_keptpreset_not_found - 429
rate_limited
AI agents
Use VirginProxy from AI clients.
GET /.well-known/ai-catalog.json
No key needed. Points to the MCP server card.
Answer 200 OK
application/ai-catalog+json
GET /mcp/server-card
No key needed. How to connect to the MCP server: address, transport, authentication, protocol versions.
Answer 200 OK
application/mcp-server-card+json
GET /v1/docs
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
descriptionstringfileslist of objectnamestringurlstringtypestringtitlestringavailableboolean
mcpobject
Errors
GET /v1/docs/{name}
One file of the complete documentation (see GET /v1/docs). llms-full.txt is the whole documentation as one Markdown text, member guides included.
| Parameter | In | Type | Meaning |
|---|---|---|---|
name required | path | string | A file name from GET /v1/docs (10 files). |
Answer 200 The file.
object
Also as text/markdown, application/yaml.
POST /mcp
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"requiredidstring | integermethodstringrequiredparamsobject
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.
Errors
- 400
invalid_bodyinvalid_format_optionsinvalid_redactinvalid_auto_extractinvalid_render_autoinvalid_queryinvalid_deliveryjob_budget_reachedinvalid_scheduleinvalid_destinationinvalid_valueinvalid_preset - 401
invalid_api_key - 403 See the errors page.
- 404 Protocol 2026-07-28: the method is not supported (JSON-RPC error -32601).
- 503
maintenance
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
No key needed. Endpoints and capabilities of the OAuth sign-in for MCP clients.
Answer 200 OK
object
GET /.well-known/oauth-protected-resource/mcp
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
POST /oauth/register
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 stringrequiredclient_namestringShown on the consent screen.client_uristringlogo_uristringStored, not shown.token_endpoint_auth_methodstring"none""client_secret_post""client_secret_basic"grant_typeslist of stringresponse_typeslist of "code"scopestring
Answer 201 Registered.
client_idstringrequiredclient_id_issued_atintegerrequiredclient_secretstringOnly with client_secret_post / client_secret_basic. Shown once.client_secret_expires_at0redirect_urislist of stringrequiredclient_namestringtoken_endpoint_auth_methodstringgrant_typeslist of stringresponse_typeslist of stringscope"mcp"
Errors
- 400 invalid_redirect_uri or invalid_client_metadata.
- 429 rate_limited.
POST /oauth/token
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"codestringredirect_uristringcode_verifierstringrefresh_tokenstringresource"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"requiredexpires_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.
POST /oauth/revoke
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
tokenstringrequiredtoken_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.
Service
Status and machine-readable descriptions.
GET /.well-known/api-catalog
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
Answer 200 OK
text/plain
GET /v1/status
No key needed. ok, maintenance (paused, nothing is charged) or disturbed.
Answer 200 OK
statusstring"ok""maintenance""disturbed"api_versionstringtimestringdocsstring
GET /v1/errors
No key needed. The same list as on the errors page, as JSON.
Answer 200 OK · ErrorList
descriptionstringdocsstringerrorslist of objectcodestringhttpintegergroupstringgroup_titlestringretrystring"wait""yes""no"descriptionstring
Errors
GET /healthz
Answer 200 OK
oktrue
Errors
- 503 Down.
GET /openapi.json
Answer 200 OK
object
Errors
GET /openapi.yaml
Answer 200 OK
application/yaml
Errors
GET /
Answer 200 OK
servicestringversionstringdocsstring
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