Web Search, Web Extract, and Web Map
Web results, page text, and site maps
Powered by SilentAPI Web Engine v1. The Web Engine is experimental, so results and speed may change. Its estimated uptime is 99.9%, but its compute is limited for now while we improve its stability and uptime, and we add more compute as demand grows.
Web Search returns a ranked list of results for a query, Web Extract returns the readable text of a page or PDF, and Web Map lists the pages of a website. All three work with your usual SilentAPI API key, and current prices are listed on the [ Services ] page.
Tiers
Set tier to auto, standard, or premium. With auto, the request starts on Standard and moves to Premium only when Standard cannot answer and your balance covers Premium. You are billed for the tier that served the request, shown in the tier field of the response.
| Tier | Behavior |
|---|---|
| auto | Standard first, then Premium when needed. |
| standard | Datacenter proxies. Follows robots.txt. |
| premium | Ethically and legally obtained residential proxies. Reaches sites that block datacenter traffic. |
Web Extract includes bandwidth up to 1 MB a page on Standard and 2 MB on Premium. Above that, and on Web Map, bandwidth costs $0.01 per 10 MB on Standard and $0.02 per 10 MB on Premium, billed per MB. To start a request, your balance must cover 1 GB of bandwidth, and you are billed only for what the request uses.
Caching
The cache is on by default, and every request with the cache on costs a tenth of the normal price, whether or not a stored copy answers it. Stored copies are shared between accounts and hold no account details. A response from a stored copy looks and costs the same as a fresh one, so nobody can tell what others looked up. Send cache as false to always get a fresh answer at the normal price, and your request is then never stored.
Cached results follow the cache rules of each site, up to 24 hours on Standard and up to 1 hour on Premium. Search results are kept for 10 minutes when freshness is day, and a page that asks not to be cached is kept for 5 minutes.
If a source is down, an older stored copy may answer instead.
Result quality
We work continuously to keep results relevant and to reduce spam, fake sites, and dangerous links. Each search combines several independent sources and ranks a result higher when the sources agree. SilentAPI removes duplicate results and tracking parameters before it returns the answer.
SilentAPI drops result pages that do not match the query, such as decoy pages and off-topic side results, and it never returns links with unsafe schemes. Two blocks are on by default and can be turned off one at a time. block_threats removes results and pages from domains known for phishing, scams, malware, fake shops, and stalkerware. block_ads removes ad and tracker domains, unless your query names that site. Sending filter as false turns off both, and an explicit block_threats or block_ads value overrides it.
No filter is perfect, so treat results as you would treat any page on the open web and check important facts against a trusted source.
Privacy and terms
SilentAPI does not log your queries, URLs, or results. Sites never see your IP address or your account. The cache keeps only a hash of your query or URL next to the results, holds no account details, and deletes every entry within 24 hours. The details are in the [ Privacy Policy ].
You are responsible for the queries and URLs you send, and for how you use the content you receive. You must follow the terms of each site you access, and you must not use these endpoints to attack or overload any site. The full rules are in the [ Terms of Service ].
Regions
Set region to choose the location a request comes from, and all three endpoints accept the same values. If that location does not respond, the request moves to the nearest region on its own.
| Value | Behavior |
|---|---|
| auto | Default. A Web Search request that sets country to a country code listed below comes from that country, and every other request comes from the United States. |
| global | Uses a random country from the list for each request. |
| Region name | north-america, latin-america, central-america, caribbean, south-america, europe, eu-west, eu-north, eu-east, asia, asia-east, asia-southeast, asia-south, oceania, middle-east, africa, africa-north, africa-west, or africa-east |
| Country code | us, ca, mx, gt, hn, cr, pa, do, pr, br, ar, cl, co, pe, uy, ec, ve, gb, ie, de, fr, nl, be, at, ch, es, pt, it, se, no, fi, dk, pl, ro, cz, hu, bg, gr, ua, jp, kr, tw, hk, sg, in, pk, th, my, id, vn, au, nz, ae, sa, il, tr, za, ng, ke, ma, tn, gh, ci, tz, or ug |
Web Search
POST /v1/silentapi/search returns web results for a query.
curl https://api.silentapi.com/v1/silentapi/search \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query":"private api gateway","max_results":3,"freshness":"week","lang":"en"}'
| Name | Type | Default | Rule |
|---|---|---|---|
| query | string | required | Search text. q is accepted as an alias. |
| tier | string | auto | auto, standard, or premium |
| max_results | integer | 10 | 1 to 30. Each set of up to 10 results is billed as one search, so 20 costs twice as much as 10, and 30 costs three times as much. |
| offset | integer | 0 | 0 to 29. Skips that many results for the next page, offset plus max_results stays at 30 or fewer, and only the returned page is billed. |
| safe | string | moderate | moderate, strict, or off |
| lang | string | en | Language code or name for the results, such as de, ja, pt-br, or Persian |
| country | string | none | Country code or name for local results, such as us, CAN, or Germany |
| region | string | auto | One value from the region list |
| freshness | string | none | day, week, or month |
| topic | string | web | web for general results, news for recent articles from news sites, images for pictures, videos for video pages, tor for Tor sites, i2p for I2P sites, or dark for both |
| include_domains | array | none | Up to 20 domains, such as ["python.org"]. Only results from these domains and their subdomains are returned. |
| exclude_domains | array | none | Up to 20 domains whose results are removed |
| cache | boolean | true | Allow a stored answer, at a tenth of the price |
| block_threats | boolean | true | Drops results from malicious hosts. Send false to keep them |
| block_ads | boolean | true | Drops ad and tracker results. Send false to keep them |
| filter | boolean | true | Sets both block_threats and block_ads |
Both domain lists also accept a comma-separated string. With topic set to news, each result also has a source with the name of the publisher, and freshness narrows the articles to the last day, week, or month.
{
"status": "ok",
"query": "private api gateway",
"results": [
{
"position": 1,
"title": "Example result",
"url": "https://example.com/page",
"domain": "example.com",
"snippet": "First lines of the page.",
"date": "2026-11-02"
}
],
"tier": "standard",
"cost": 0.1
}
| Field | Type | Meaning |
|---|---|---|
| status | string | ok when the request completed |
| query | string | The query that was searched |
| results | array | Results in rank order. Each result has position, title, url, domain, and snippet, and a date and source are added when they are known. |
| tier | string | Tier that served the request |
| cost | number | Charge in credits, also sent in the X-SilentAPI-Cost header |
Dates use the YYYY-MM-DD form. Tracking parameters such as utm_source are removed from result links, and duplicate links are merged into one result.
Image search
Set topic to images to get pictures. Each result keeps url for the page that shows the picture, and adds image with the direct link to the image file. width and height give the full size in pixels when they are known. One page can appear more than once with different images. freshness, safe, and both domain lists work as they do for web results, and the domain lists apply to the page, not the image file. Image search is billed the same as a web search.
curl https://api.silentapi.com/v1/silentapi/search \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query":"red panda","topic":"images","max_results":2}'
{
"status": "ok",
"query": "red panda",
"results": [
{
"position": 1,
"title": "Red panda facts",
"url": "https://example.com/red-panda",
"domain": "example.com",
"snippet": "A red panda resting in a tree.",
"image": "https://example.com/uploads/red-panda.jpg",
"width": 2048,
"height": 1356
}
],
"tier": "standard",
"cost": 0.1
}
Video search
Set topic to videos to get video pages from sites such as YouTube, TikTok, and Vimeo. Each result can add source with the site name, channel with the uploader, duration in seconds, views as a whole number, and date. The date comes from the upload age, so it can be off by a few days. YouTube results also have a thumbnail link. Fields that are not known are left out. Video search is billed the same as a web search.
{
"position": 1,
"title": "Red pandas at play",
"url": "https://www.youtube.com/watch?v=abcdefghijk",
"domain": "youtube.com",
"source": "YouTube",
"channel": "Example Zoo",
"duration": 56,
"views": 16900,
"date": "2026-10-29",
"thumbnail": "https://i.ytimg.com/vi/abcdefghijk/hqdefault.jpg"
}
Dark web search
Set topic to tor to search .onion sites, i2p to search .i2p sites, or dark to search both networks. Results have title, url, domain, and snippet, plus date when it is known. Services whose address trusted link directories confirm come first, with verified set to true. Unknown sites that copy a listed service name or use an invalid onion address count as phishing, and SilentAPI removes them. Dark search runs on the Premium tier only, and tier set to auto uses Premium for it. Banned onion addresses are removed from the results, whatever the filter settings. Dark search is billed the same as a Premium web search.
curl https://api.silentapi.com/v1/silentapi/search \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query":"securedrop directory","topic":"tor","max_results":5}'
{
"status": "ok",
"query": "securedrop directory",
"results": [
{
"position": 1,
"title": "SecureDrop Directory",
"url": "http://vfnmxpa6fo4jdpyq3yneqhglluweax2uclvxkytfpmpkp5rsl75ir5qd.onion/",
"domain": "vfnmxpa6fo4jdpyq3yneqhglluweax2uclvxkytfpmpkp5rsl75ir5qd.onion",
"snippet": "A directory of SecureDrop instances.",
"date": "2026-11-21"
}
],
"tier": "premium",
"cost": 0.2
}
Web Extract reads .onion and .i2p pages on the Premium tier as well, and refuses the same banned addresses.
Web Extract
POST /v1/silentapi/extract reads a single page or PDF and returns its main text, without menus, ads, or scripts. Web Extract is billed per page plus the data it downloads.
curl https://api.silentapi.com/v1/silentapi/extract \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url":"https://www.iana.org/help/example-domains","format":"markdown","max_chars":20000}'
| Name | Type | Default | Rule |
|---|---|---|---|
| url | string | required | http or https address, up to 2,048 characters |
| tier | string | auto | auto, standard, or premium |
| format | string | markdown | markdown or text |
| max_chars | integer | 100000 | 500 to 400000 |
| region | string | auto | One value from the region list |
| lang | string | none | Preferred page language, a code or name such as fr or French, for sites that offer more than one |
| cache | boolean | true | Allow a stored answer, at a tenth of the price |
| links | boolean | false | When true, the links found on the page are returned in links |
| block_threats | boolean | true | Known malicious hosts are refused. Send false to allow them |
| block_ads | boolean | true | Links to ad and tracker hosts are removed. Send false to keep them |
| filter | boolean | true | Sets both block_threats and block_ads |
Web Extract works with pages in any language and returns their text in the original language. PDF files are read as text, page by page, and the response includes the number of pages.
{
"status": "ok",
"url": "https://www.iana.org/help/example-domains",
"title": "Example page",
"description": "A short summary of the page.",
"language": "en",
"published": "2026-11-12",
"content_type": "text/html",
"format": "markdown",
"length": 26,
"truncated": false,
"content": "# Example page\n\nPage text.",
"image": "https://example.com/cover.jpg",
"tier": "standard",
"cost": 0.16
}
| Field | Type | Meaning |
|---|---|---|
| status | string | ok when the request completed |
| url | string | Address that was read, after redirects |
| title | string | Page title |
| description | string | Page summary, when the page has one |
| language | string | Page language, when the page states one |
| published | string | Published date as YYYY-MM-DD, when the page shows one |
| content_type | string | Type of the source page |
| format | string | markdown or text |
| length | integer | Number of characters in content |
| truncated | boolean | True when the text is longer than max_chars |
| archived | string | Capture time of a public archive copy, present only when the site refused every request |
| copy_of | string | The requested address when the page refused every request on the Premium tier and the same article was read from another site, which url names |
| content | string | Page text in the requested format |
| image | string | Main image of the page, when it has one |
| pages | integer | Number of pages, for PDF files only |
| links | array | Only present when links is true. Each link has a url and its text, up to 500 links. |
| tier | string | Tier that served the request |
| cost | number | Charge in credits, also sent in the X-SilentAPI-Cost header |
Fields with no value are left out of the response instead of being sent as null.
A page with truncated as true holds the first max_chars characters. Raise max_chars to get more text.
Web Map
POST /v1/silentapi/map lists the pages of a website. It reads the sitemaps the site publishes, and when they are missing or short, it adds the links found on the home page. Web Map is billed per request plus the data it downloads.
curl https://api.silentapi.com/v1/silentapi/map \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url":"https://example.com","max_urls":100,"search":"blog"}'
| Name | Type | Default | Rule |
|---|---|---|---|
| url | string | required | Address of the site, such as https://example.com |
| tier | string | auto | auto, standard, or premium |
| max_urls | integer | 200 | 1 to 1000 |
| search | string | none | Only return addresses that contain this text, up to 200 characters |
| include_subdomains | boolean | false | When true, pages on subdomains of the site are listed too |
| region | string | auto | One value from the region list |
| cache | boolean | true | Allow a stored answer, at a tenth of the price |
| block_threats | boolean | true | Known malicious hosts are refused. Send false to allow them |
| block_ads | boolean | true | Links to ad and tracker hosts are removed. Send false to keep them |
| filter | boolean | true | Sets both block_threats and block_ads |
{
"status": "ok",
"url": "https://example.com",
"count": 2,
"urls": [
"https://example.com/blog",
"https://example.com/blog/first-post"
],
"tier": "standard",
"cost": 0.21
}
Pass any address from urls to Web Extract to read that page.
Batch requests
Web Search and Web Extract accept up to 10 items in one request. Send queries to Web Search or urls to Web Extract instead of a single query or url, and every other field applies to each item.
curl https://api.silentapi.com/v1/silentapi/extract \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"urls":["https://example.com","https://example.com/missing"],"format":"text"}'
Items run side by side and come back in the order you sent them. Each item has the same fields as a single response, and an item that could not be completed has status set to error with an error object that holds its status, message, type, and code.
{
"status": "ok",
"count": 2,
"failed": 1,
"items": [
{ "status": "ok", "url": "https://example.com", "content": "Page text.", "tier": "standard", "cost": 0.16 },
{ "status": "error", "url": "https://example.com/missing", "error": { "status": 404, "message": "The page was not found.", "type": "not_found_error", "code": "not_found" }, "cost": 0 }
],
"cost": 0.16
}
The top-level cost is the total charge for the batch. When no item can be completed, the request returns the error of the first item instead.
Code examples
Python
import requests
API = "https://api.silentapi.com/v1/silentapi"
HEADERS = {"Authorization": "Bearer YOUR_API_KEY"}
search = requests.post(f"{API}/search", headers=HEADERS, json={
"query": "rust async runtime",
"max_results": 5,
"include_domains": ["docs.rs", "rust-lang.org"]
}, timeout=90).json()
for result in search["results"]:
print(result["position"], result["title"], result["url"])
page = requests.post(f"{API}/extract", headers=HEADERS, json={
"url": search["results"][0]["url"],
"format": "markdown"
}, timeout=90).json()
print(page["title"])
print(page["content"][:500])
JavaScript
const API = 'https://api.silentapi.com/v1/silentapi';
const headers = { Authorization: 'Bearer YOUR_API_KEY', 'Content-Type': 'application/json' };
async function call(path, body) {
const response = await fetch(`${API}/${path}`, { method: 'POST', headers, body: JSON.stringify(body) });
const data = await response.json();
if (!response.ok) throw new Error(data.error.message);
return data;
}
const news = await call('search', { query: 'open source security', topic: 'news', freshness: 'week' });
const headlines = news.results.map((item) => `${item.date} ${item.source}: ${item.title}`);
const batch = await call('extract', { urls: news.results.slice(0, 3).map((item) => item.url), format: 'text' });
const pages = batch.items.filter((item) => item.status === 'ok');
const missed = batch.items.filter((item) => item.status === 'error').map((item) => `${item.url}: ${item.error.message}`);
Set a client timeout of at least 90 seconds, because slow sites can take a while to answer.
Errors
All three endpoints return these statuses:
| Status | Meaning |
|---|---|
| 400 | Invalid input or URL |
| 402 | Your balance does not cover the request, or the page needs more bandwidth than your balance covers |
| 403 | The site cannot be fetched, or the safety filter refused it, which happens unless block_threats is false |
| 404 | Page not found |
| 413 | Page too large |
| 415 | Unsupported content type |
| 422 | Page too complex, or it only shows content with JavaScript |
| 429 | The target site is busy, and the response includes Retry-After |
| 502 | Fetch failed |
| 503 | The service is temporarily unavailable, and the response includes Retry-After |
| 504 | Timeout |
Errors use the same body as the other endpoints. When the search or fetch itself fails, the body also has cost, and the X-SilentAPI-Cost header is set as well:
{
"error": {
"message": "The page was not found.",
"type": "not_found_error",
"code": "not_found"
},
"cost": 0
}