Scrape URL

Turn one public web page into a structured document with its text, passages, metadata and links, ready to read or process.

Explanation

Fetches one public web page and returns it as a structured document: its text, passages, metadata and links. Use it to read a known source page as a single document, such as a URL taken from an event's provenance or from a search result, when you need the full page.

POST/search/v2/scrape-url

Request

Authorizations

apiKey
Api-Keystringrequiredheader

Your NOSIBLE API key.

Example: nos_sk_...

Body

application/json
urlstringbody

The public URL to retrieve and process.

Example: https://example.com/article

htmlstringbody

Optional HTML supplied by the caller. When present, NOSIBLE can process it without fetching the URL body again.

Example: <html>...</html>

renderbooleanbody

Accepted for compatibility; it has no effect. Scrape URL fetches the page's HTML without running JavaScript, so a page that builds its content in the browser returns little or no text.

Example: false

recrawlbooleanbody

Request a fresh crawl instead of reusing a cached document.

Example: false

Response

Response body

application/json

These are the fields you can build against. Nested names use dot notation; optional sections are called out in their descriptions.

messagestring

Retrieval acknowledgement.

Example: Document retrieved

added_to_batchboolean

Whether the page was queued for indexing; normally false.

Example: false

response.requestobject

The URL as NOSIBLE normalised it: raw_url, url, hash (the document's id), scheme, netloc, path, query, fragment, and query_allowed / query_blocked (the query parameters kept and removed). Hosts are lower-cased, fragments and tracking parameters removed, and url is the requested URL, not the one a redirect led to.

Example: { "url": "https://www.theguardian.com/politics/2026/oct/09/...", "netloc": "www.theguardian.com", "hash": "5XCWSX2FhXSaq-vECUdxDez3" }

response.pageobject

Page metadata: title, description, author, published, modified and visited (YYYY-MM-DD), certain (whether the dates were found on the page), and published_timestamp / modified_timestamp / visited_timestamp when known. author is an empty string when none is found; published is 3000-01-01 when the page gives no date. A cached copy may lack the timestamps.

Example: { "title": "Bragging rights for Burnham...", "author": "Alexandra Topping", "published": "2026-10-09", "visited": "2026-10-09" }

response.full_textstring

The extracted text of the page. It can include captions and boilerplate and can miss passages; check it against the page when completeness matters.

Example: Bragging rights for Burnham, blues for Farage: ...

response.snippetsobject

The text as passages, keyed by snippet hash: {url_hash, snippet_hash, prev_snippet_hash, next_snippet_hash, content, words, language, statistics}. Follow prev/next to read them in order.

Example: { "s1kegHREt-0lqi4w1ftZVfWl": { "content": "From left: ...", "next_snippet_hash": "eQNAAr1RNCY9KpiQcYBPSD31" } }

response.statisticsobject

Counts for the page: snippets, sentences, words, characters, images, videos, audio, tables, lists, blocks, links and files.

Example: { "words": 828, "characters": 8357, "links": 18 }

response.languagesobject

Languages detected in the text with their share.

Example: { "en": 1.0 }

response.metadataobject

The page's meta tags grouped by family (og, twitter, article, fb...) plus nosible (html_lang, title, description as NOSIBLE read them).

Example: { "og": { "type": "article" }, "nosible": { "html_lang": "en" } }

response.structuredobject[]

JSON-LD blocks found on the page.

Example: [{ "@type": "NewsArticle" }]

response.url_treeobject

The links on the page, grouped by site and path.

Example: { "https://www.theguardian.com": { "politics": { ... } } }

response.companiesobject[]

Companies NOSIBLE matched in the page, on documents already in its index.

Example: []

Responses and errors

HTTP
200Request succeeded. The body is shown in the response example.
400message — The sql_filter cannot run: it does not select FROM engine, names an unknown column, compares a column with the wrong type, or is not valid SQL. The body is {"message": "Invalid sql_filter: ..."}. Bulk and Time Search check the filter before the job is queued.
401invalid_api_key — The key is missing, invalid or revoked. Send it in the api-key header: the Search API does not read Authorization: Bearer.
404search_route_not_found — The path is not a Search API route that nosible.world exposes.
405method_not_allowed — The route does not accept this HTTP method.
413request_too_large — The request body is larger than the proxy accepts.
422detail — A field is missing, out of range or of the wrong type, or the body is not valid JSON. The body is {"detail": [{loc, msg, type, input}]}, one entry per problem; enum errors list the allowed values.
500message — Every shard the search needed failed. Retry. When only some shards fail, the results are returned and message says how many shards were skipped.
429rate_limited — The request exceeded the account's rate limit. Respect Retry-After when supplied.
502search_upstream_unavailable — The Search API could not be reached; retry shortly.
503api_key_auth_unavailable — API key authentication is temporarily unavailable; retry shortly.
503api_key_metering_unavailable — API key usage metering is temporarily unavailable, so the request was not served; wait for the Retry-After header (30 seconds) and retry.
504search_upstream_timeout — The Search API did not answer before the proxy deadline.