Skip to navigation

Get an Async Web Search Job

View as Markdown

Reads the web-search job a Prefer: respond-async search accepted. Answers 200 with the finished search (charged like a search), 202 with Retry-After while SerpAPI is still running it, 503 search_provider_error when the job ended without a result (run the search again), and 404 for an unknown job. Never starts or resubmits a provider search.

Authentication

AuthorizationBearer

Your aVenture API key (https://aventure.vc/settings/api-keys) or OAuth access token

Path parameters

jobIdstringRequiredformat: "uuid"

Web-search job UUID from the 202 response

Response headers

Cache-ControlstringOptional

Always no-store: a metered per-caller read

X-RateLimit-Limitinteger

Requests allowed per client IP in the current rate-limit window.

X-RateLimit-Remaininginteger

Requests left before the tightest applicable rate-limit bucket rejects.

X-RateLimit-Resetinteger

Seconds until the exhausted rate-limit bucket admits another request; 0 when none is exhausted.

Response

Finished web search; never cached by intermediaries

documentobject

Source-document ledger row backing this result

resultlist of objects
Normalized result items in provider rank order
searchobject
Web search request represented by this result

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
406
Not Acceptable Error
422
Unprocessable Entity Error
429
Too Many Requests Error
500
Internal Server Error
503
Service Unavailable Error