Example inputPOST /api/v1/x402/news-search
{
"query": "artificial intelligence",
"timespan": "1d",
"sort": "datedesc",
"max_records": 3
}
Portable intent card · news
Search recent GDELT Project news metadata for $0.001 and receive attributed publisher links without article bodies or arbitrary URL fetching.
Intent to transaction
The source header follows this discovery route through challenge, payment and delivery without exposing the buyer or request body.
npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/news-search -m POST -H 'x-delx-source: intent-card-news-search-api' --max-amount 0.001 -b '{"query":"artificial intelligence","timespan":"1d","sort":"datedesc","max_records":3}'
{
"query": "artificial intelligence",
"timespan": "1d",
"sort": "datedesc",
"max_records": 3
}
{
"intent": "search recent news headlines with source links",
"tool_name": "search_news_gdelt",
"price_usdc": "0.001",
"machine_url": "https://commerce.delx.ai/intents/news-search-api.json"
}
Portable and inspectable