10trust / 100

Search

by FastAF in Search & web

x402 APIFailing, checked 21 h ago

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.

GET
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

Run a free test callHow to call it

Reliability

All checks passedSome failedAll failedNot checked

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+home

Parameters

ParameterTypeRequiredDescription
advance_searchbooleanNoInclude advanced Google result features/snippets when true; true/false, default false.
countrystringNoTwo-letter search country code, e.g. us, uk or fr; default us. Localizes results, not a scrape proxy selection.
crstringNoRestrict documents by country: countryFR or countryFR|countryDE. Omitted: no explicit country restriction (unlike country, which localizes the search).
deep_scrapebooleanNoFetch content from organic-result destination pages as well as the SERP; true/false, default false. Use with advance_search=false; no FastAF surcharge.
domainstringNoGoogle host to search, e.g. google.com or google.co.uk; default google.com.
filterstringNoDuplicate/omitted-result filtering: string 1 enables it (default); 0 includes similar and normally omitted results.
htmlbooleanNoReturn raw source HTML instead of parsed JSON when true; true/false, default false.
ibpstringNoGoogle layout/expansion expression, e.g. gwp;0,7 for a ludocid lookup. Omitted: standard results layout.
kgmidstringNoGoogle Knowledge Graph entity ID, e.g. /m/09c7w0; may override other search filters except page/results. No default.
languagestringNoResult/interface language code, e.g. en, es, fr or de; default en. Use lr, where supported, to restrict document languages.
locationstringNoCity-level search origin, e.g. Austin, Texas, United States; omit for source-default location. Cannot be combined with uule.
lrstringNoDocument-language filter: lang_en or a pipe-separated list such as lang_en|lang_fr. Omitted: no explicit language restriction.
lsigstringNoOpaque Google local-listing signature used with a business/knowledge-panel lookup; copy from a Google URL. No default.
ludocidstringNoGoogle business listing CID as a decimal string, copied from a Google local result. Omitted: no specific business selected.
mob_searchbooleanNoRequest mobile rather than desktop Google results; true/false, default false. FastAF does not add a mobile surcharge.
nfprstringNoSpelling correction: string 1 excludes automatically corrected queries; 0 allows them (default 0).
pageintegerNoZero-based Google results page, integer 0-100; default 0. Each page is a separate request.
querystringYesRequired Google search text; supports operators such as site:example.com and intitle:coffee. No default.
resultsintegerNoMaximum 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.
safestringNoAdult-content filter: active enables SafeSearch; off disables it (default off).
sistringNoOpaque Google cached-search/knowledge-panel tab token; may override other filters except page/results. No default.
tbsstringNoGoogle filter expression, e.g. qdr:d for the past day or qdr:w for the past week. Omitted: no explicit time/advanced filter.
udsstringNoOpaque Google results-filter token copied from a Google search URL. Omitted: no extra token filter; do not invent a token.
uulestringNoGoogle'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 --decode
JavaScript: 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

WhenResultHTTPTimePrice
21 h agoExpected HTTP 402, got 41041032 ms-
6 days agoExpected HTTP 402, got 410410494 ms-
9 days agoExpected HTTP 402, got 41041089 ms-
12 days agoExpected HTTP 402, got 410410418 ms-
15 days agoExpected HTTP 402, got 410410333 ms-
Show 8 older checks
19 days agoExpected HTTP 402, got 410410455 ms-
22 days agoExpected HTTP 402, got 410410445 ms-
23 days agoExpected HTTP 402, got 410410189 ms-
24 days agoExpected HTTP 402, got 410410354 ms-
25 days agoExpected HTTP 402, got 410410163 ms-
27 days agoExpected HTTP 402, got 410410398 ms-
28 days agoExpected HTTP 402, got 410410654 ms-
29 days agoExpected HTTP 402, got 410410338 ms-