Loading...
Loading...
Search Google News and Google Shopping using Serper APIs via x402. USE FOR: - Finding recent news articles on a topic - Current events and breaking news - Product searches and price comparisons - Shopping research and product discovery - Industry news monitoring TRIGGERS: - "news about", "latest news", "recent articles" - "current events", "breaking", "headlines" - "shopping", "buy", "price", "product search" - "compare prices", "where to buy", "deals on" Both endpoints are $0.04 per call. IMPORTANT: Never guess endpoint paths. All paths follow the pattern https://enrichx402.com/api/{provider}/{action}. Use exact URLs from the Quick Reference table below or call x402.discover_api_endpoints first.
npx skill4agent add merit-systems/x402scan-skills news-shoppingSTOP — Read before making any API call. enrichx402.com endpoints are not the same as each provider's native API. All paths use the format. You MUST either:https://enrichx402.com/api/{provider}/{action}
- Copy exact URLs from the Quick Reference table below, OR
- Run
to get the correct pathsx402.discover_api_endpoints(url="https://enrichx402.com")Guessing paths will fail with 405 errors (wrong path) or 404 errors (missingprefix)./api/
| Task | Endpoint | Price | Description |
|---|---|---|---|
| News search | | $0.04 | Google News search |
| Shopping search | | $0.04 | Google Shopping search |
x402.fetch(
url="https://enrichx402.com/api/serper/news",
method="POST",
body={
"q": "artificial intelligence regulation"
}
)qnumglhltbs| Filter | Meaning |
|---|---|
| Past hour |
| Past 24 hours |
| Past week |
| Past month |
| Past year |
x402.fetch(
url=".../serper/news",
body={
"q": "AI startups funding",
"tbs": "qdr:w"
}
)x402.fetch(
url=".../serper/news",
body={
"q": "technology news",
"gl": "uk",
"hl": "en"
}
)x402.fetch(
url="https://enrichx402.com/api/serper/shopping",
method="POST",
body={
"q": "wireless noise cancelling headphones"
}
)qnumglhlx402.fetch(
url=".../serper/shopping",
body={
"q": "MacBook Pro M3",
"gl": "us"
}
)x402.get_wallet_infox402.discover_api_endpoints(url="https://enrichx402.com")x402.fetch(
url="https://enrichx402.com/api/serper/news",
method="POST",
body={"q": "company name OR competitor name", "tbs": "qdr:d", "num": 20}
)qdr:hx402.fetch(
url="https://enrichx402.com/api/serper/news",
method="POST",
body={"q": "breaking news topic", "tbs": "qdr:h"}
)x402.fetch(
url="https://enrichx402.com/api/serper/shopping",
method="POST",
body={"q": "ergonomic office chair under $500", "num": 20}
)x402.fetch(
url="https://enrichx402.com/api/serper/shopping",
method="POST",
body={"q": "exact product name model number"}
)titlesnippetsourcedatelinkimageUrltitlepricesourcelinkratingreviewsimageUrldelivery"climate change"AI OR "artificial intelligence"gl| Task | Calls | Cost |
|---|---|---|
| Quick news check | 1 | $0.04 |
| Daily news summary | 2-3 | $0.08-0.12 |
| Product research | 1-2 | $0.04-0.08 |
| Full market research | 3-5 | $0.12-0.20 |