81trust / 100

News Search

by d21 news_search in News & content

x402 APIPassing, checked 45 min ago

News Search ($0.009): multi-language, multi-country news headline search plus an optional volume/tone timeline, built entirely on the GDELT Project's free, keyless DOC 2.0 API (100+ languages, updated every 15min). Body { query } required; optional timespan (1h..3m), language, country, domain filters, min_tone/max_tone, sort (date|relevance), max_records (1-50). Pass mode:"timeline" for a per-period volume+tone series instead of an article list. Headlines/URLs/metadata only -- never relays…

POST https://draconic21-x402-api.onrender.com/v1/news_search

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
280 ms typical, 585 ms slowest 5%
Last check
45 min ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://draconic21-x402-api.onrender.com/v1/news_search" \
  -H "content-type: application/json" \
  -d '{"max_records":10,"query":"bitcoin","timespan":"1w"}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fdraconic21-x402-api.onrender.com%2Fv1%2Fnews_search
const res = await pay("https://draconic21-x402-api.onrender.com/v1/news_search", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"max_records":10,"query":"bitcoin","timespan":"1w"}),
});
console.log(await res.json());

Example input

{
  "max_records": 10,
  "query": "bitcoin",
  "timespan": "1w"
}

Example output

{
  "article_count": 1,
  "articles": [
    {
      "domain": "example.com",
      "language": "English",
      "seen_at": "2026-09-28T13:15:00Z",
      "source_country": "United States",
      "title": "Bitcoin ETFs notch best month of 2026",
      "url": "https://example.com/a"
    }
  ],
  "caveats": [
    "Headlines/URLs/metadata only -- this route never fetches or relays publisher article body …"
  ],
  "mode": "articles"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
45 min agoPassed402208 ms$0.009
5 h agoPassed402245 ms$0.009
8 h agoPassed402280 ms$0.009
12 h agoPassed402284 ms$0.009
15 h agoPassed402212 ms$0.009
18 h agoPassed402714 ms$0.009
24 h agoPassed402585 ms$0.009