Search
by FastAF in Search & web
Web search API for AI agents: ranked results as JSON (title, url, snippet) with positions. Supports keyword search, country and language targeting for source discovery, fact-finding and research. Provided by Web search. Price: $0.002000 USDC per successful call.
https://api.fastaf.co/x402/v1/search- Price
- $0.003
- per call in USDC
- Uptime
- 0.0%
- last 30 days
- Response time
- -
- no timed checks yet
- Last check
- Failed
- 21 h ago, next in 2 days
Reliability
Latest check failed 21 h ago: Expected HTTP 402, got 410
Status and outage history · Atom feed · Watch with other listings
How to call it
GET https://api.fastaf.co/x402/v1/search
Each call costs $0.003 in USDC on Base, paid with the request over x402.
Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.
Example request
From the listing.
GET https://api.fastaf.co/x402/v1/search?country=us&language=en&query=best+espresso+machine+for+homeParameters
| Parameter | Type | Required | Description |
|---|---|---|---|
advance_search | boolean | No | Include advanced Google result features/snippets when true; true/false, default false. |
country | string | No | Two-letter search country code, e.g. us, uk or fr; default us. Localizes results, not a scrape proxy selection. |
cr | string | No | Restrict documents by country: countryFR or countryFR|countryDE. Omitted: no explicit country restriction (unlike country, which localizes the search). |
deep_scrape | boolean | No | Fetch content from organic-result destination pages as well as the SERP; true/false, default false. Use with advance_search=false; no FastAF surcharge. |
domain | string | No | Google host to search, e.g. google.com or google.co.uk; default google.com. |
filter | string | No | Duplicate/omitted-result filtering: string 1 enables it (default); 0 includes similar and normally omitted results. |
html | boolean | No | Return raw source HTML instead of parsed JSON when true; true/false, default false. |
ibp | string | No | Google layout/expansion expression, e.g. gwp;0,7 for a ludocid lookup. Omitted: standard results layout. |
kgmid | string | No | Google Knowledge Graph entity ID, e.g. /m/09c7w0; may override other search filters except page/results. No default. |
language | string | No | Result/interface language code, e.g. en, es, fr or de; default en. Use lr, where supported, to restrict document languages. |
location | string | No | City-level search origin, e.g. Austin, Texas, United States; omit for source-default location. Cannot be combined with uule. |
lr | string | No | Document-language filter: lang_en or a pipe-separated list such as lang_en|lang_fr. Omitted: no explicit language restriction. |
lsig | string | No | Opaque Google local-listing signature used with a business/knowledge-panel lookup; copy from a Google URL. No default. |
ludocid | string | No | Google business listing CID as a decimal string, copied from a Google local result. Omitted: no specific business selected. |
mob_search | boolean | No | Request mobile rather than desktop Google results; true/false, default false. FastAF does not add a mobile surcharge. |
nfpr | string | No | Spelling correction: string 1 excludes automatically corrected queries; 0 allows them (default 0). |
page | integer | No | Zero-based Google results page, integer 0-100; default 0. Each page is a separate request. |
query | string | Yes | Required Google search text; supports operators such as site:example.com and intitle:coffee. No default. |
results | integer | No | Maximum results retained by FastAF, integer 1-100. Omit for the full returned page. Google supplies up to 10 per page; use page for more, not a larger results value. |
safe | string | No | Adult-content filter: active enables SafeSearch; off disables it (default off). |
si | string | No | Opaque Google cached-search/knowledge-panel tab token; may override other filters except page/results. No default. |
tbs | string | No | Google filter expression, e.g. qdr:d for the past day or qdr:w for the past week. Omitted: no explicit time/advanced filter. |
uds | string | No | Opaque Google results-filter token copied from a Google search URL. Omitted: no extra token filter; do not invent a token. |
uule | string | No | Google's encoded geographic search token, copied from a Google URL. Omit for no explicit token; do not combine with location where supported. |
Example response
The provider's example. We can't check it without paying.
{
"organic_results": [
{
"link": "https://example.com/guides/espresso-machines",
"position": 1,
"snippet": "Compare compact espresso machines by pressure, grinder and milk-steaming features.",
"title": "Best espresso machines for home brewing"
}
],
"search_information": {
"query_displayed": "best espresso machine for home"
}
}Call it from code
The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.003.
curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i 'https://api.fastaf.co/x402/v1/search?country=us&language=en&query=best+espresso+machine+for+home'
# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - 'https://api.fastaf.co/x402/v1/search?country=us&language=en&query=best+espresso+machine+for+home' \
| grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decodeJavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
// Pays at most $0.003 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.003" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.003 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.fastaf.co%2Fx402%2Fv1%2Fsearch
const res = await pay("https://api.fastaf.co/x402/v1/search?country=us&language=en&query=best+espresso+machine+for+home");
console.log(res.status, await res.text());Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client
# Pays at most $0.003 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.003"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))
with x402_requests(client) as session:
res = session.get("https://api.fastaf.co/x402/v1/search?country=us&language=en&query=best+espresso+machine+for+home")
print(res.status_code, res.text)Security scan
No findings
We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 21 h ago | Expected HTTP 402, got 410 | 410 | 32 ms | - |
| 6 days ago | Expected HTTP 402, got 410 | 410 | 494 ms | - |
| 9 days ago | Expected HTTP 402, got 410 | 410 | 89 ms | - |
| 12 days ago | Expected HTTP 402, got 410 | 410 | 418 ms | - |
| 15 days ago | Expected HTTP 402, got 410 | 410 | 333 ms | - |
Show 8 older checks
| 19 days ago | Expected HTTP 402, got 410 | 410 | 455 ms | - |
| 22 days ago | Expected HTTP 402, got 410 | 410 | 445 ms | - |
| 23 days ago | Expected HTTP 402, got 410 | 410 | 189 ms | - |
| 24 days ago | Expected HTTP 402, got 410 | 410 | 354 ms | - |
| 25 days ago | Expected HTTP 402, got 410 | 410 | 163 ms | - |
| 27 days ago | Expected HTTP 402, got 410 | 410 | 398 ms | - |
| 28 days ago | Expected HTTP 402, got 410 | 410 | 654 ms | - |
| 29 days ago | Expected HTTP 402, got 410 | 410 | 338 ms | - |