SilentAPI Logo SilentAPI

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.

TierBehavior
autoStandard first, then Premium when needed.
standardDatacenter proxies. Follows robots.txt.
premiumEthically 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.

ValueBehavior
autoDefault. 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.
globalUses a random country from the list for each request.
Region namenorth-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 codeus, 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

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"}'
NameTypeDefaultRule
querystringrequiredSearch text. q is accepted as an alias.
tierstringautoauto, standard, or premium
max_resultsinteger101 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.
offsetinteger00 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.
safestringmoderatemoderate, strict, or off
langstringenLanguage code or name for the results, such as de, ja, pt-br, or Persian
countrystringnoneCountry code or name for local results, such as us, CAN, or Germany
regionstringautoOne value from the region list
freshnessstringnoneday, week, or month
topicstringwebweb 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_domainsarraynoneUp to 20 domains, such as ["python.org"]. Only results from these domains and their subdomains are returned.
exclude_domainsarraynoneUp to 20 domains whose results are removed
cachebooleantrueAllow a stored answer, at a tenth of the price
block_threatsbooleantrueDrops results from malicious hosts. Send false to keep them
block_adsbooleantrueDrops ad and tracker results. Send false to keep them
filterbooleantrueSets 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
}
FieldTypeMeaning
statusstringok when the request completed
querystringThe query that was searched
resultsarrayResults in rank order. Each result has position, title, url, domain, and snippet, and a date and source are added when they are known.
tierstringTier that served the request
costnumberCharge 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.

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
}

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"
}

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}'
NameTypeDefaultRule
urlstringrequiredhttp or https address, up to 2,048 characters
tierstringautoauto, standard, or premium
formatstringmarkdownmarkdown or text
max_charsinteger100000500 to 400000
regionstringautoOne value from the region list
langstringnonePreferred page language, a code or name such as fr or French, for sites that offer more than one
cachebooleantrueAllow a stored answer, at a tenth of the price
linksbooleanfalseWhen true, the links found on the page are returned in links
block_threatsbooleantrueKnown malicious hosts are refused. Send false to allow them
block_adsbooleantrueLinks to ad and tracker hosts are removed. Send false to keep them
filterbooleantrueSets 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
}
FieldTypeMeaning
statusstringok when the request completed
urlstringAddress that was read, after redirects
titlestringPage title
descriptionstringPage summary, when the page has one
languagestringPage language, when the page states one
publishedstringPublished date as YYYY-MM-DD, when the page shows one
content_typestringType of the source page
formatstringmarkdown or text
lengthintegerNumber of characters in content
truncatedbooleanTrue when the text is longer than max_chars
archivedstringCapture time of a public archive copy, present only when the site refused every request
copy_ofstringThe requested address when the page refused every request on the Premium tier and the same article was read from another site, which url names
contentstringPage text in the requested format
imagestringMain image of the page, when it has one
pagesintegerNumber of pages, for PDF files only
linksarrayOnly present when links is true. Each link has a url and its text, up to 500 links.
tierstringTier that served the request
costnumberCharge 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"}'
NameTypeDefaultRule
urlstringrequiredAddress of the site, such as https://example.com
tierstringautoauto, standard, or premium
max_urlsinteger2001 to 1000
searchstringnoneOnly return addresses that contain this text, up to 200 characters
include_subdomainsbooleanfalseWhen true, pages on subdomains of the site are listed too
regionstringautoOne value from the region list
cachebooleantrueAllow a stored answer, at a tenth of the price
block_threatsbooleantrueKnown malicious hosts are refused. Send false to allow them
block_adsbooleantrueLinks to ad and tracker hosts are removed. Send false to keep them
filterbooleantrueSets 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:

StatusMeaning
400Invalid input or URL
402Your balance does not cover the request, or the page needs more bandwidth than your balance covers
403The site cannot be fetched, or the safety filter refused it, which happens unless block_threats is false
404Page not found
413Page too large
415Unsupported content type
422Page too complex, or it only shows content with JavaScript
429The target site is busy, and the response includes Retry-After
502Fetch failed
503The service is temporarily unavailable, and the response includes Retry-After
504Timeout

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
}