Hagglyai

v0.1.2
com.hagglyai/haggly Checked 3 days ago Published 1 month ago

Find 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…

ParameterTypeDescription
task *stringThe job in plain words, as the user would put it, e.g. "scrape TikTok comments" or "weather forecast for a city"
hide_flagsarrayWarnings to leave out, e.g. ["wallet-mismatch", "few-repeat-buyers"]
max_price_usdnumberBudget per call in USD, e.g. 0.01
recentbooleantrue = 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…

ParameterTypeDescription
category *stringCategory id, e.g. 'web-search'
hide_flagsarrayWarnings to leave out, e.g. ["wallet-mismatch", "few-repeat-buyers"]
limitinteger
max_price_usdnumber
platformarraySub-category platform ids, any of, e.g. ["instagram","tiktok"]. See list_categories
railarrayPaid rails to include, e.g. ["x402"] for pay-per-call only (default both)
recentbooleantrue = only endpoints checked in the last 7 days
taskarraySub-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

ParameterTypeDescription
url *stringThe 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).