Hagglyai
v0.1.2Find the best pay-per-call API for any task: price, uptime and real usage across 19,000+ APIs.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
find_best Find the best API for a task
Call this when a task needs an outside API or data source and you have not picked one, e.g. "search the web", "scrape this page to markdown", "get the BTC price", "Instagram comments for a post", "flight prices", "generate a PDF", "solve a captcha", "translate this text". Returns the recommended pay-per-call API with its price per call, reliability score and real usage, plus ranked alternatives and a link to each. Covers Web search; Web page extraction; LLM inference; Crypto prices & market data; On-chain data; People & company enrichment; Weather; News; Social media data; Job listings; Produc…
| Parameter | Type | Description |
|---|---|---|
task * | string | The job in plain words, as the user would put it, e.g. "scrape TikTok comments" or "weather forecast for a city" |
hide_flags | array | Warnings to leave out, e.g. ["wallet-mismatch", "few-repeat-buyers"] |
max_price_usd | number | Budget per call in USD, e.g. 0.01 |
recent | boolean | true = only endpoints checked in the last 7 days |
compare_category Compare APIs in a category
Call this to weigh the options in one area instead of taking find_best's single recommendation, or when the user asks "which is the cheapest / most reliable X API?". Returns every tracked API in the category ranked by score, with price per call, reliability, usage and any warnings. Category ids: web-search, web-extraction, llm-inference, crypto-prices, onchain-data, enrichment, weather, news, social-media, jobs, ecommerce, maps-places, translation, messaging, travel, stocks, pdf-generation, captcha-solving, sports-data, shopping, speech-audio, developer-tools. Narrow by platform or task ids fr…
| Parameter | Type | Description |
|---|---|---|
category * | string | Category id, e.g. 'web-search' |
hide_flags | array | Warnings to leave out, e.g. ["wallet-mismatch", "few-repeat-buyers"] |
limit | integer | |
max_price_usd | number | |
platform | array | Sub-category platform ids, any of, e.g. ["instagram","tiktok"]. See list_categories |
rail | array | Paid rails to include, e.g. ["x402"] for pay-per-call only (default both) |
recent | boolean | true = only endpoints checked in the last 7 days |
task | array | Sub-category task ids, any of, e.g. ["comments"]. See list_categories |
most_popular Most popular APIs in a category
Call this when the user asks what other people use, or wants a safe, proven choice: the 3 APIs in a category with the most paying users in the last 30 days, "Most popular" first. APIs with warnings are held back and named. Category ids: web-search, web-extraction, llm-inference, crypto-prices, onchain-data, enrichment, weather, news, social-media, jobs, ecommerce, maps-places, translation, messaging, travel, stocks, pdf-generation, captcha-solving, sports-data, shopping, speech-audio, developer-tools. Free, read-only and quick: it never calls or pays the APIs it describes.
| Parameter | Type | Description |
|---|---|---|
category * | string | Category id, e.g. 'web-search' |
hide_flags | array | Warnings to leave out, e.g. ["wallet-mismatch", "few-repeat-buyers"] |
max_price_usd | number | |
platform | array | Sub-category platform ids, any of, e.g. ["instagram","tiktok"]. See list_categories |
rail | array | Paid rails to include, e.g. ["x402"] for pay-per-call only (default both) |
recent | boolean | true = only endpoints checked in the last 7 days |
task | array | Sub-category task ids, any of, e.g. ["comments"]. See list_categories |
check_endpoint Check an API before paying it
Call this before paying a specific API URL you were given or found elsewhere, to see whether it can be trusted: Hagglyai's reliability score and recent check history, its price per call, how many paying users it has, and any warnings (for example a payment wallet that does not match the seller). It never calls the URL. Hagglyai API documentation: https://hagglyai.com/openapi.json
| Parameter | Type | Description |
|---|---|---|
url * | string | The API's URL, exactly as you would call it |
list_categories What Hagglyai covers
Call this to see whether Hagglyai can help with a need, or to get ids for compare_category and most_popular: every category with how many APIs it tracks, the cheapest price per call, and its platform and task sub-categories (e.g. instagram, comments).