Skip to main content
POST /api/search/contents runs Truscan’s extractor on URLs you supply, the same extractor that populates content on search results.
string[]
required
Between 1 and 8 absolute URLs.

Response

result is an object keyed by the URL you submitted, so you can look each one up directly:

Partial failures

A URL that cannot be fetched or parsed does not fail the request. Its entry carries an error instead of content, so always check before reading text:
Requests to private, loopback, and link-local addresses are refused. Only publicly routable URLs can be extracted.

Cost

Extraction is billed at $1.00 per 1,000 pages, counted per URL successfully extracted. Setting enrich: false on a search skips this cost entirely if you only need links.