Web research: search and read the top pages
No account. Pay by card from $1 and your key appears right after payment. Get a key by card
One call to research a question on the web: a Brave web search, then the text of the top 1-5 result pages, read in parallel and clipped to your length, with titles and URLs. A page that cannot be read is listed with its reason. Results are for the caller's immediate use only: no storing, resale or model training (Brave API terms). Use when an agent needs current, sourced information in one step instead of a search plus several page reads.
Guide: Web search API with page content
$0.008 per call with prepaid credits: $1 by card pays for 125 calls, with no account and no subscription.
Inputs
| Name | Type | Description |
|---|---|---|
q (required) | string | What to research, at most 400 characters |
pages | integer | How many top results to read in full (1-5, default 3) |
maxChars | integer | Characters of text per page (500-10000, default 3000) |
Request
Over HTTP, with a card key from /credits:
curl -H "Authorization: Bearer adt_…" "https://glyphtools.com/pack/web-research?q=x402%20payment%20protocol"
Node.js
const r = await fetch("https://glyphtools.com/pack/web-research?q=x402%20payment%20protocol", {
headers: { Authorization: "Bearer adt_…" },
});
const data = await r.json(); // 402 until the key is in the header
Python
import requests
r = requests.get("https://glyphtools.com/pack/web-research?q=x402%20payment%20protocol", headers={"Authorization": "Bearer adt_…"}, timeout=60)
data = r.json()
Without a key, the same URL answers 402 Payment Required with x402 and MPP terms, so an agent with a wallet pays per call in USDC (Base, Polygon, Arbitrum or Solana over x402; Base or Tempo over MPP) and retries.
Example result
{
"pack": "web-research",
"query": "x402 payment protocol",
"pages": [
{
"rank": 1,
"title": "x402: an open payment protocol",
"url": "https://www.x402.org/",
"snippet": "x402 lets any HTTP API charge per request…",
"text": "x402 is an open standard for internet-native payments…",
"textLength": 3000,
"error": null
}
],
"otherResults": [
{
"title": "x402 on GitHub",
"url": "https://github.com/coinbase/x402"
}
],
"terms": "Results are for the caller's immediate use…",
"failed": {}
}
From an AI agent (MCP)
Add the MCP server to Claude, Cursor or any MCP client. This tool is pack_web_research, paid from the first call:
https://glyphtools.com/mcp