I'm considering EveryInfra (an API for collecting platform data, searching the web and solving CAPTCHAs). Help me decide whether it is useful for my project, which endpoints to use, and what it would cost. Follow the four steps below. Steps 1 to 3 are read-only: do not change my files and do not call any paid endpoint.
Step 1: Look at my project first.
If you can read my code or files, read them yourself and do not ask me first. Read the README, dependency list, config, scheduled jobs, and all code that scrapes web pages or calls third-party data, search or CAPTCHA APIs. Find out:
1. What the project does;
2. Which platforms or websites it gets data from now, and how (its own scraper, which company's API, or by hand);
3. How much it fetches each time and how often it runs, and from that, roughly how many calls a month;
4. What costs the most effort or money (frequent blocks, CAPTCHAs, proxies I maintain myself, expensive third-party APIs).
If you cannot read my project (for example, you are a chat assistant in a web page), ask me instead, one to three questions at a time, until the four points above are clear.
My code and data stay local. Do not send them to anyone, including EveryInfra.
Step 2: Check EveryInfra (none of this needs an API key or costs money).
1. Read the guide for AI agents: https://everyinfra.com/agents.md
2. Read the catalog of all capabilities: GET https://api.everyinfra.com/api/v1/social/catalog?compact=1. Each entry lists the platform, the capability, the required parameters and the price in USD per call (price_usd). For web search, see GET https://api.everyinfra.com/api/v1/search/tools. For CAPTCHA, see GET https://api.everyinfra.com/api/v1/captcha/types
3. For each platform from Step 1, read its details (optional parameters, allowed values, returned fields): GET https://api.everyinfra.com/api/v1/social/catalog?platform=<name>
4. Read the billing rules: https://everyinfra.com/en/pricing.md (failed and empty results are not charged, a call with several targets is billed per target, and monthly top-ups get a discount)
5. If the catalog does not have the platform or field I need, say so. Do not substitute something similar.
Step 3: Give me the answer in one sentence first, then the details.
Write the first sentence in this format: “Your project <what it does>, and EveryInfra's <endpoint 1> and <endpoint 2> are enough: about <N> calls a month, about <X> USD.” If nothing fits, write “EveryInfra cannot help with this project right now” and say what is missing.
Then give a table with at most 5 rows, sorted from most to least useful to me: the endpoint (platform/action), which part of my project it replaces or adds, roughly how many calls a month, the catalog price, and roughly what it costs a month. Cost = calls × catalog price; show the calculation. If the call count is an estimate, say how you estimated it.
Finally, ask me whether to connect it now.
Step 4: Write code only after I agree, and follow these rules:
- Requests: platform data POST https://api.everyinfra.com/api/v1/social with the body {"platform", "action", "params"}; web search POST https://api.everyinfra.com/api/v1/search with {"tool", "params"}; CAPTCHA POST https://api.everyinfra.com/api/v1/captcha with {"type", ...other parameters}. Use parameter names and values exactly as the catalog lists them; do not guess.
- Auth: header Authorization: Bearer <API key>. Read the key from the EVERYINFRA_API_KEY environment variable; never put it in code, logs, or commits. If I don't have a key yet, remind me to create one at https://everyinfra.com/app#keys.
- Try one target with a small limit first and check the response shape before scaling up; a call with several targets is billed per target.
- For slow or large platform-data jobs, add "mode": "async" to the body. The API returns 202 and a job_id; poll GET https://api.everyinfra.com/api/v1/jobs/{job_id} until the status is succeeded or failed. A 202 is not a success. If a sync call comes back with a timeout error, resend the same request with "mode": "async".
- When a platform-data result carries next_page_token, pass it back as page_token for the next page with the other parameters unchanged; each page is one call.
- Failed or empty results are not charged in the end; any reserved amount goes back to the balance. Trust the billing receipt in the response.
- On a 422, fix the request using the candidate parameter names and allowed values in the error message; do not guess.
- On a 429 or 503, wait for the Retry-After delay and try again; if there is none, back off gradually.
- If the network drops or the outcome is unknown, keep the request_id / job_id and check it first. Do not resend automatically.
If you can connect to remote MCP servers, you can also connect to https://api.everyinfra.com/mcp (header Authorization: Bearer <API key>) and use its tools for the same work, with the same billing and rules as the API.