{"openapi":"3.1.0","info":{"title":"Agent Toolbox","version":"1.0","description":"Everyday tools for AI agents, paid per call with x402: image generation, web pages and documents to Markdown, speech to text, embeddings, translation, summaries, email checks, exchange rates, DNS and domain records.","contact":{"name":"Agent Toolbox","url":"https://agent-toolbox.zafermemon87.workers.dev/llms.txt","email":"zafermemon87@gmail.com"},"x-guidance":"Each tool is one HTTP call that returns JSON with the result and a one-line summary in `plain`. GET tools take query parameters; POST tools take a JSON body. Prices are fixed per call. Requests that fail (bad input: 400, upstream down: 503) are not charged."},"servers":[{"url":"https://agent-toolbox.zafermemon87.workers.dev"}],"paths":{"/v1/image":{"post":{"summary":"Generate a 1024x1024 JPEG image from a text prompt with FLUX.1 schnell; every prompt passes a safety check first (sexual content and other unsafe requests are refused and not charged). Returns the image as base64.","operationId":"generate_image","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.01"},"protocols":[{"x402":{}},{"mpp":{"method":"tempo","intent":"charge","currency":"0x20c000000000000000000000b9537d11c60e8b50"}}]},"responses":{"200":{"description":"The answer","content":{"application/json":{"example":{"model":"flux-1-schnell","prompt":"a lighthouse on a cliff at sunrise, watercolor","steps":4,"mime_type":"image/jpeg","image_base64":"/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAEBAQEB...(base64 JPEG)","plain":"Image generated (4 steps)."}}}},"400":{"description":"Bad input, not charged"},"402":{"description":"Payment required (x402)"},"503":{"description":"Upstream unavailable, not charged"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["prompt"],"properties":{"prompt":{"type":"string","description":"What to draw, up to 2048 characters"},"steps":{"type":"integer","minimum":1,"maximum":8,"description":"Diffusion steps, 1 to 8 (default 4; more is slower and finer)"}}},"example":{"prompt":"a lighthouse on a cliff at sunrise, watercolor"}}}}}},"/v1/markdown":{"get":{"summary":"Fetch a public web page or document (HTML, PDF, Word, Excel, CSV, XML; up to 10 MB) and return it as clean Markdown with its title and final URL.","operationId":"url_to_markdown","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.002"},"protocols":[{"x402":{}},{"mpp":{"method":"tempo","intent":"charge","currency":"0x20c000000000000000000000b9537d11c60e8b50"}}]},"responses":{"200":{"description":"The answer","content":{"application/json":{"example":{"url":"https://example.com","final_url":"https://example.com/","content_type":"text/html","title":"Example Domain","markdown":"This domain is for use in documentation examples without needing permission. This is not a service; avoid relying on it for testing and monitoring purposes.","truncated":false,"tokens":39,"bytes":577,"plain":"156 characters of Markdown from \"Example Domain\"."}}}},"400":{"description":"Bad input, not charged"},"402":{"description":"Payment required (x402)"},"503":{"description":"Upstream unavailable, not charged"}},"parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string","description":"A public http(s) URL"}}]},"post":{"summary":"Convert an uploaded document (PDF, Word, Excel, CSV, HTML, XML, OpenDocument; up to 10 MB) to Markdown.","operationId":"file_to_markdown","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.003"},"protocols":[{"x402":{}},{"mpp":{"method":"tempo","intent":"charge","currency":"0x20c000000000000000000000b9537d11c60e8b50"}}]},"responses":{"200":{"description":"The answer","content":{"application/json":{"example":{"filename":"scores.csv","markdown":"# scores.csv\n\n## Sheet1\n\n| name  | score |\n|-------|-------|\n| alice | 9     |\n| bob   | 7     |\n","truncated":false,"tokens":24,"bytes":25,"plain":"scores.csv: 97 characters of Markdown."}}}},"400":{"description":"Bad input, not charged"},"402":{"description":"Payment required (x402)"},"503":{"description":"Upstream unavailable, not charged"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["filename","file_base64"],"properties":{"filename":{"type":"string","description":"File name with extension, e.g. report.pdf"},"file_base64":{"type":"string","description":"The file, base64-encoded"}}},"example":{"filename":"notes.csv","file_base64":"bmFtZSxzY29yZQphbGljZSw5Cg=="}}}}}},"/v1/transcribe":{"post":{"summary":"Speech to text with Whisper large v3 turbo: transcribe audio (mp3, wav, m4a, ogg, webm; up to 20 MB, about 20 minutes) from a URL or base64, or translate the speech into English. Returns the text, language, duration and timed segments.","operationId":"transcribe_audio","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.01"},"protocols":[{"x402":{}},{"mpp":{"method":"tempo","intent":"charge","currency":"0x20c000000000000000000000b9537d11c60e8b50"}}]},"responses":{"200":{"description":"The answer","content":{"application/json":{"example":{"model":"whisper-large-v3-turbo","task":"transcribe","text":"This is an example sound file in org-forbus format from Wikipedia, the free encyclopedia.","language":"en","duration_s":6.1040625,"word_count":14,"segments":[{"start":0,"end":5.82,"text":" This is an example sound file in org-forbus format from Wikipedia, the free encyclopedia."}],"plain":"14 words from 6 s of audio (en)."}}}},"400":{"description":"Bad input, not charged"},"402":{"description":"Payment required (x402)"},"503":{"description":"Upstream unavailable, not charged"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"audio_url":{"type":"string","description":"A public http(s) URL"},"audio_base64":{"type":"string","description":"The audio file, base64-encoded"},"language":{"type":"string","description":"Language code such as en or hi (detected when left out)"},"task":{"type":"string","enum":["transcribe","translate"],"description":"translate = into English"}}},"example":{"audio_url":"https://example.com/meeting.mp3"}}}}}},"/v1/embed":{"post":{"summary":"Text embeddings with BGE-M3 (multilingual, 1024 dimensions) for search, clustering and RAG: up to 100 texts of up to 8,000 characters per call.","operationId":"embed_text","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.002"},"protocols":[{"x402":{}},{"mpp":{"method":"tempo","intent":"charge","currency":"0x20c000000000000000000000b9537d11c60e8b50"}}]},"responses":{"200":{"description":"The answer","content":{"application/json":{"example":{"model":"bge-m3","dimensions":1024,"count":2,"embeddings":[[-0.0029201507568359375,0.0237579345703125,-0.083740234375,-0.0017709732055664062,"...1020 more"],[-0.0377197265625,0.019805908203125,-0.0533447265625,-0.0042572021484375,"...1020 more"]],"plain":"2 embeddings of 1024 dimensions."}}}},"400":{"description":"Bad input, not charged"},"402":{"description":"Payment required (x402)"},"503":{"description":"Upstream unavailable, not charged"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["texts"],"properties":{"texts":{"type":"array","items":{"type":"string"},"maxItems":100,"description":"Texts to embed"}}},"example":{"texts":["The cat sat on the mat","A feline rested on a rug"]}}}}}},"/v1/translate":{"post":{"summary":"Translate text (up to 5,000 characters) between 100 languages with M2M100 1.2B.","operationId":"translate_text","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.002"},"protocols":[{"x402":{}},{"mpp":{"method":"tempo","intent":"charge","currency":"0x20c000000000000000000000b9537d11c60e8b50"}}]},"responses":{"200":{"description":"The answer","content":{"application/json":{"example":{"model":"m2m100-1.2b","source_lang":"english","target_lang":"french","translated_text":"Où se trouve la gare ?","plain":"Où se trouve la gare ?"}}}},"400":{"description":"Bad input, not charged"},"402":{"description":"Payment required (x402)"},"503":{"description":"Upstream unavailable, not charged"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["text","target_lang"],"properties":{"text":{"type":"string"},"target_lang":{"type":"string","description":"Language name or code, e.g. french or fr"},"source_lang":{"type":"string","description":"Default english"}}},"example":{"text":"Where is the train station?","target_lang":"french"}}}}}},"/v1/summarize":{"post":{"summary":"Summarize text (up to 60,000 characters) or a public web page or PDF by URL with Llama 3.1 8B, short, medium or long, optionally focused on a topic.","operationId":"summarize","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.003"},"protocols":[{"x402":{}},{"mpp":{"method":"tempo","intent":"charge","currency":"0x20c000000000000000000000b9537d11c60e8b50"}}]},"responses":{"200":{"description":"The answer","content":{"application/json":{"example":{"model":"llama-3.1-8b-instruct","length":"short","url":"https://en.wikipedia.org/wiki/Lighthouse","input_chars":60000,"summary":"A lighthouse is a tower, building, or structure designed to emit light to aid navigation for maritime pilots at sea or on inland waterways. It marks dangerous coastlines, hazardous shoals, reefs, rocks, and safe entries to harbors, and assists in aerial navigation. Lighthouses have a long history, with ancient examples including the Tower of Hercules in Spain and the Pharos of Alexandria in Egypt. Modern lighthouses began to be constructed in the 18th century, with advances in structural engineering and lighting equipment allowing for the creation of larger and more powerful lighthouses.","plain":"A lighthouse is a tower, building, or structure designed to emit light to aid navigation for maritime pilots at sea or on inland waterways. It marks dangerous coastlines, hazardous shoals, reefs, rock"}}}},"400":{"description":"Bad input, not charged"},"402":{"description":"Payment required (x402)"},"503":{"description":"Upstream unavailable, not charged"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"text":{"type":"string"},"url":{"type":"string","description":"A public http(s) URL"},"length":{"type":"string","enum":["short","medium","long"]},"focus":{"type":"string","description":"Optional topic to focus on"}}},"example":{"url":"https://example.com","length":"short"}}}}}},"/v1/email-verify":{"get":{"summary":"Check an email address: format, whether the domain exists and accepts mail (MX records), disposable providers, role accounts and free providers, with a valid / risky / invalid verdict. The mailbox itself is not probed.","operationId":"verify_email","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.002"},"protocols":[{"x402":{}},{"mpp":{"method":"tempo","intent":"charge","currency":"0x20c000000000000000000000b9537d11c60e8b50"}}]},"responses":{"200":{"description":"The answer","content":{"application/json":{"example":{"email":"someone@gmail.com","verdict":"valid","format_ok":true,"domain":"gmail.com","mail_servers":[{"priority":5,"host":"gmail-smtp-in.l.google.com"},{"priority":10,"host":"alt1.gmail-smtp-in.l.google.com"},{"priority":20,"host":"alt2.gmail-smtp-in.l.google.com"},{"priority":30,"host":"alt3.gmail-smtp-in.l.google.com"},{"priority":40,"host":"alt4.gmail-smtp-in.l.google.com"}],"disposable":false,"role_account":false,"free_provider":true,"reasons":[],"mailbox_checked":false,"plain":"someone@gmail.com: valid. The mailbox itself is not probed."}}}},"400":{"description":"Bad input, not charged"},"402":{"description":"Payment required (x402)"},"503":{"description":"Upstream unavailable, not charged"}},"parameters":[{"name":"email","in":"query","required":true,"schema":{"type":"string"}}]}},"/v1/fx":{"get":{"summary":"Currency exchange rates and conversion for about 30 currencies (USD, EUR, GBP, INR, JPY, CNY ...) from the European Central Bank reference rates of the latest working day.","operationId":"fx_rates","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.002"},"protocols":[{"x402":{}},{"mpp":{"method":"tempo","intent":"charge","currency":"0x20c000000000000000000000b9537d11c60e8b50"}}]},"responses":{"200":{"description":"The answer","content":{"application/json":{"example":{"base":"USD","amount":100,"date":"2026-10-23","rates":{"EUR":89.341553,"INR":9494.5055,"GBP":74.803895},"source":"European Central Bank euro reference rates (published around 16:00 CET on working days)","plain":"100 USD = 89.341553 EUR, 9494.5055 INR, 74.803895 GBP (ECB, 2026-10-23)."}}}},"400":{"description":"Bad input, not charged"},"402":{"description":"Payment required (x402)"},"503":{"description":"Upstream unavailable, not charged"}},"parameters":[{"name":"base","in":"query","required":false,"schema":{"type":"string","description":"Base currency, default USD"}},{"name":"symbols","in":"query","required":false,"schema":{"type":"string","description":"Comma-separated, e.g. EUR,INR (default: all)"}},{"name":"amount","in":"query","required":false,"schema":{"type":"number","description":"Amount to convert (default 1)"}}]}},"/v1/dns":{"get":{"summary":"DNS records of a domain (A, AAAA, MX, TXT, NS, CNAME, SOA, CAA, SRV, PTR) over DNS-over-HTTPS (1.1.1.1), with DNSSEC validation status.","operationId":"dns_lookup","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.002"},"protocols":[{"x402":{}},{"mpp":{"method":"tempo","intent":"charge","currency":"0x20c000000000000000000000b9537d11c60e8b50"}}]},"responses":{"200":{"description":"The answer","content":{"application/json":{"example":{"name":"example.com","type":"MX","status":"NOERROR","dnssec_validated":true,"records":[{"name":"example.com","type":"MX","ttl":300,"data":"0 ."}],"plain":"1 MX record(s) for example.com."}}}},"400":{"description":"Bad input, not charged"},"402":{"description":"Payment required (x402)"},"503":{"description":"Upstream unavailable, not charged"}},"parameters":[{"name":"name","in":"query","required":true,"schema":{"type":"string","description":"Domain name"}},{"name":"type","in":"query","required":false,"schema":{"type":"string","enum":["A","NS","CNAME","SOA","PTR","MX","TXT","AAAA","SRV","CAA"]}}]}},"/v1/llm/gpt-oss-120b/chat/completions":{"post":{"summary":"OpenAI-compatible chat completion with gpt-oss-120b (OpenAI's open-weight reasoning model): set the base URL to /v1/llm/gpt-oss-120b in any OpenAI SDK. Up to 32,000 characters in and 2,048 tokens out per call, a fixed price per call, no streaming.","operationId":"chat_gpt_oss_120b","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005"},"protocols":[{"x402":{}},{"mpp":{"method":"tempo","intent":"charge","currency":"0x20c000000000000000000000b9537d11c60e8b50"}}]},"responses":{"200":{"description":"The answer","content":{"application/json":{"example":{"id":"chatcmpl-b47b2262cf054cdb9ba58dcd","object":"chat.completion","created":1792916433,"model":"gpt-oss-120b","choices":[{"index":0,"message":{"role":"assistant","content":"The capital of France is Paris.","reasoning_content":"The user asks: \"In one sentence, what is the capital of France?\" Simple answer: \"The capital of France is Paris.\" Provide in one sentence."},"finish_reason":"stop"}],"usage":{"prompt_tokens":78,"completion_tokens":49,"total_tokens":127},"plain":"gpt-oss-120b: The capital of France is Paris."}}}},"400":{"description":"Bad input, not charged"},"402":{"description":"Payment required (x402)"},"503":{"description":"Upstream unavailable, not charged"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["messages"],"properties":{"messages":{"type":"array","description":"OpenAI chat messages: [{role: system|user|assistant, content}] (up to 32,000 characters in total)","items":{"type":"object","required":["role","content"],"properties":{"role":{"type":"string"},"content":{"type":"string"}}}},"max_tokens":{"type":"integer","minimum":1,"maximum":2048,"description":"Default 2048"},"temperature":{"type":"number","minimum":0,"maximum":2},"response_format":{"type":"object","description":"{\"type\": \"json_object\"} for JSON output"}}},"example":{"messages":[{"role":"user","content":"In one sentence, what is the capital of France?"}],"max_tokens":200}}}}}},"/v1/llm/qwen3-30b/chat/completions":{"post":{"summary":"OpenAI-compatible chat completion with Qwen3 30B (fast mixture-of-experts model): set the base URL to /v1/llm/qwen3-30b in any OpenAI SDK. Up to 32,000 characters in and 2,048 tokens out per call, a fixed price per call, no streaming.","operationId":"chat_qwen3_30b","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.002"},"protocols":[{"x402":{}},{"mpp":{"method":"tempo","intent":"charge","currency":"0x20c000000000000000000000b9537d11c60e8b50"}}]},"responses":{"200":{"description":"The answer","content":{"application/json":{"example":{"id":"chatcmpl-3b888f74b4c74562850208bf","object":"chat.completion","created":1792916435,"model":"qwen3-30b","choices":[{"index":0,"message":{"role":"assistant","content":"The capital of France is Paris.","reasoning_content":"\n\n"},"finish_reason":"stop"}],"usage":{"prompt_tokens":23,"completion_tokens":12,"total_tokens":35},"plain":"qwen3-30b: The capital of France is Paris."}}}},"400":{"description":"Bad input, not charged"},"402":{"description":"Payment required (x402)"},"503":{"description":"Upstream unavailable, not charged"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["messages"],"properties":{"messages":{"type":"array","description":"OpenAI chat messages: [{role: system|user|assistant, content}] (up to 32,000 characters in total)","items":{"type":"object","required":["role","content"],"properties":{"role":{"type":"string"},"content":{"type":"string"}}}},"max_tokens":{"type":"integer","minimum":1,"maximum":2048,"description":"Default 2048"},"temperature":{"type":"number","minimum":0,"maximum":2},"response_format":{"type":"object","description":"{\"type\": \"json_object\"} for JSON output"}}},"example":{"messages":[{"role":"user","content":"In one sentence, what is the capital of France?"}],"max_tokens":200}}}}}},"/v1/whois":{"get":{"summary":"Domain registration data from RDAP (the successor of WHOIS): registrar, creation, expiry and update dates, status codes, nameservers and DNSSEC.","operationId":"domain_whois","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.002"},"protocols":[{"x402":{}},{"mpp":{"method":"tempo","intent":"charge","currency":"0x20c000000000000000000000b9537d11c60e8b50"}}]},"responses":{"200":{"description":"The answer","content":{"application/json":{"example":{"domain":"example.com","registrar":"RESERVED-Internet Assigned Numbers Authority","registrar_iana_id":"376","created":"1995-08-14T04:00:00Z","expires":"2027-08-13T04:00:00Z","updated":"2026-08-14T08:01:43Z","status":["client delete prohibited","client transfer prohibited","client update prohibited"],"nameservers":["elliott.ns.cloudflare.com","hera.ns.cloudflare.com"],"dnssec":true,"rdap_url":"https://rdap.verisign.com/com/v1/domain/example.com","plain":"example.com: registered 1995-08-14, expires 2027-08-13, registrar RESERVED-Internet Assigned Numbers Authority."}}}},"400":{"description":"Bad input, not charged"},"402":{"description":"Payment required (x402)"},"503":{"description":"Upstream unavailable, not charged"}},"parameters":[{"name":"domain","in":"query","required":true,"schema":{"type":"string"}}]}},"/v1/company/search":{"get":{"summary":"Find companies worldwide by name in the official GLEIF register of legal entities: legal name, LEI, country, registered address, company-register number, legal form and status, best match first, plus matching US-listed companies with ticker and SEC CIK.","operationId":"company_search","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005"},"protocols":[{"x402":{}},{"mpp":{"method":"tempo","intent":"charge","currency":"0x20c000000000000000000000b9537d11c60e8b50"}}]},"responses":{"200":{"description":"The answer","content":{"application/json":{"example":{"query":"Apple Inc","country":"US","results":[{"lei":"HWUPKR0MPOU8FGXBT394","legal_name":"Apple Inc.","other_names":["Apple Computer, Inc."],"country":"US","jurisdiction":"US-CA","legal_address":{"lines":["C/O C T Corporation System","330 N. Brand Blvd","Suite 700"],"city":"Glendale","region":"US-CA","postal_code":"91203","country":"US"},"headquarters":{"lines":["One Apple Park Way"],"city":"Cupertino","region":"US-CA","postal_code":"95014","country":"US"},"registered_as":"806592","registration_authority":"RA000598","legal_form":"H1UM","category":"GENERAL","entity_status":"ACTIVE","founded":"1977-01-03","lei_status":"ISSUED","lei_next_renewal":"2027-03-08","lei_last_update":"2026-03-03","bic":["APLEUS66XXX"],"us_listing":{"ticker":"AAPL","cik":320193}},{"lei":"549300EVZAR0FBZO4F16","legal_name":"Apple Hospitality REIT, Inc.","other_names":["APPLE REIT NINE, INC."],"country":"US","jurisdiction":"US-VA","legal_address":{"lines":["C/O Corporation Service Company","100 Shockoe Slip,Fl 2"],"city":"Richmond","region":"US-VA","postal_code":"23219-4100","country":"US"},"headquarters":{"lines":["814 E Main St"],"city":"Richmond","region":"US-VA","postal_code":"23219","country":"US"},"registered_as":"06858690","registration_authority":"RA000639","legal_form":"HOV4","category":"GENERAL","entity_status":"ACTIVE","founded":"2007-11-08","lei_status":"ISSUED","lei_next_renewal":"2027-06-06","lei_last_update":"2026-05-08","bic":null,"us_listing":{"ticker":"APLE","cik":1418121}},{"lei":"254900I0YZLG4ER04082","legal_name":"APPLE BIDCO HOLDINGS, INC.","other_names":[],"country":"US","jurisdiction":"US-DE","legal_address":{"lines":["C/O THE CORPORATION TRUST COMPANY","CORPORATION TRUST CENTER","1209 ORANGE ST"],"city":"WILMINGTON","region":"US-DE","postal_code":"19801","country":"US"},"headquarters":{"lines":["450 Lexington Avenue","32nd Floor"],"city":"New York","region":"US-NY","postal_code":"10017","country":"US"},"registered_as":"10412138","registration_authority":"RA000602","legal_form":"XTIQ","category":"GENERAL","entity_status":"ACTIVE","founded":"2025-11-21","lei_status":"ISSUED","lei_next_renewal":"2027-07-10","lei_last_update":"2026-07-10","bic":null,"us_listing":null}],"us_listed":[{"name":"Apple Inc.","ticker":"AAPL","cik":320193},{"name":"Apple Hospitality REIT, Inc.","ticker":"APLE","cik":1418121},{"name":"Apple iSports Group, Inc.","ticker":"AAPI","cik":1134982}],"sources":"GLEIF Global LEI Index (CC0) and the SEC's list of US-listed companies","plain":"3 match(es) for \"Apple Inc\"; best: Apple Inc. (US, LEI HWUPKR0MPOU8FGXBT394, active); US-listed: Apple Inc. (AAPL), Apple Hospitality REIT, Inc. (APLE), Apple iSports Group, Inc. (AAPI)."}}}},"400":{"description":"Bad input, not charged"},"402":{"description":"Payment required (x402)"},"503":{"description":"Upstream unavailable, not charged"}},"parameters":[{"name":"query","in":"query","required":true,"schema":{"type":"string","description":"Company name, e.g. Reliance Industries"}},{"name":"country","in":"query","required":false,"schema":{"type":"string","description":"Optional two-letter country code to narrow the search, e.g. IN"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":20,"description":"How many matches (default 5)"}}]}},"/v1/company/lei":{"get":{"summary":"Full official record of a legal entity by its LEI (Legal Entity Identifier) from GLEIF: legal and other names, registered and head-office addresses, company-register number, legal form, status, founding date, LEI status, and its direct and ultimate parent companies.","operationId":"company_lei","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005"},"protocols":[{"x402":{}},{"mpp":{"method":"tempo","intent":"charge","currency":"0x20c000000000000000000000b9537d11c60e8b50"}}]},"responses":{"200":{"description":"The answer","content":{"application/json":{"example":{"lei":"HWUPKR0MPOU8FGXBT394","legal_name":"Apple Inc.","other_names":["Apple Computer, Inc."],"country":"US","jurisdiction":"US-CA","legal_address":{"lines":["C/O C T Corporation System","330 N. Brand Blvd","Suite 700"],"city":"Glendale","region":"US-CA","postal_code":"91203","country":"US"},"headquarters":{"lines":["One Apple Park Way"],"city":"Cupertino","region":"US-CA","postal_code":"95014","country":"US"},"registered_as":"806592","registration_authority":"RA000598","legal_form":"H1UM","category":"GENERAL","entity_status":"ACTIVE","founded":"1977-01-03","lei_status":"ISSUED","lei_next_renewal":"2027-03-08","lei_last_update":"2026-03-03","bic":["APLEUS66XXX"],"direct_parent":null,"ultimate_parent":null,"source":"GLEIF Global LEI Index (CC0)","plain":"Apple Inc.: active (H1UM) in US-CA, registered as 806592; LEI issued."}}}},"400":{"description":"Bad input, not charged"},"402":{"description":"Payment required (x402)"},"503":{"description":"Upstream unavailable, not charged"}},"parameters":[{"name":"lei","in":"query","required":true,"schema":{"type":"string","description":"20-character LEI, e.g. HWUPKR0MPOU8FGXBT394"}}]}},"/v1/company/us":{"get":{"summary":"US public company profile from SEC EDGAR by ticker or CIK: industry, exchange, state of incorporation, fiscal year end, address and phone, shares outstanding, latest full-year financials (revenue, net income, assets, liabilities, equity, cash, diluted EPS) and links to the latest 10-K, 10-Q and 8-K filings.","operationId":"company_us","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.01"},"protocols":[{"x402":{}},{"mpp":{"method":"tempo","intent":"charge","currency":"0x20c000000000000000000000b9537d11c60e8b50"}}]},"responses":{"200":{"description":"The answer","content":{"application/json":{"example":{"name":"Apple Inc.","cik":320193,"tickers":["AAPL"],"exchanges":["Nasdaq"],"industry":"Electronic Computers","sic":"3571","filer_category":"Large accelerated filer","entity_type":"operating","state_of_incorporation":"CA","fiscal_year_end":"September 26","phone":"(408) 996-1010","website":null,"business_address":"ONE APPLE PARK WAY, CUPERTINO, CA, 95014","former_names":["APPLE INC","APPLE COMPUTER INC","APPLE COMPUTER INC/ FA"],"shares_outstanding":{"value":14594180000,"as_of":"2026-07-17"},"financials":{"revenue":{"value":416161000000,"unit":"USD","period_end":"2025-09-27","fiscal_year":2025,"form":"10-K","filed":"2025-10-31","concept":"us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax"},"net_income":{"value":112010000000,"unit":"USD","period_end":"2025-09-27","fiscal_year":2025,"form":"10-K","filed":"2025-10-31","concept":"us-gaap:NetIncomeLoss"},"total_assets":{"value":359241000000,"unit":"USD","period_end":"2025-09-27","fiscal_year":2025,"form":"10-K","filed":"2025-10-31","concept":"us-gaap:Assets"},"total_liabilities":{"value":285508000000,"unit":"USD","period_end":"2025-09-27","fiscal_year":2025,"form":"10-K","filed":"2025-10-31","concept":"us-gaap:Liabilities"},"equity":{"value":73733000000,"unit":"USD","period_end":"2025-09-27","fiscal_year":2025,"form":"10-K","filed":"2025-10-31","concept":"us-gaap:StockholdersEquity"},"cash":{"value":35934000000,"unit":"USD","period_end":"2025-09-27","fiscal_year":2025,"form":"10-K","filed":"2025-10-31","concept":"us-gaap:CashAndCashEquivalentsAtCarryingValue"},"eps_diluted":{"value":7.46,"unit":"USD/shares","period_end":"2025-09-27","fiscal_year":2025,"form":"10-K","filed":"2025-10-31","concept":"us-gaap:EarningsPerShareDiluted"}},"recent_filings":[{"form":"8-K/A","filed":"2026-09-01","report_date":"2026-04-17","description":"8-K/A","url":"https://www.sec.gov/Archives/edgar/data/320193/000114036126035325/ef20081427_8ka.htm"},{"form":"10-Q","filed":"2026-07-31","report_date":"2026-06-27","description":"10-Q","url":"https://www.sec.gov/Archives/edgar/data/320193/000032019326000020/aapl-20260627.htm"},{"form":"8-K","filed":"2026-07-30","report_date":"2026-07-30","description":"8-K","url":"https://www.sec.gov/Archives/edgar/data/320193/000032019326000018/aapl-20260730.htm"}],"source":"SEC EDGAR (US public domain)","plain":"Apple Inc. (AAPL): Electronic Computers; FY2025 revenue $416.2B, net income $112.0B; latest filing 8-K/A on 2026-09-01."}}}},"400":{"description":"Bad input, not charged"},"402":{"description":"Payment required (x402)"},"503":{"description":"Upstream unavailable, not charged"}},"parameters":[{"name":"ticker","in":"query","required":false,"schema":{"type":"string","description":"Stock ticker, e.g. AAPL"}},{"name":"cik","in":"query","required":false,"schema":{"type":"string","description":"SEC CIK number, e.g. 320193 (instead of ticker)"}}]}},"/v1/extract":{"post":{"summary":"Extract structured JSON from a web page, PDF or text: name the fields you want (up to 25, with types) and get each value with the exact quote from the page that states it. Every quote is checked against the page itself (verified, quoted, unverified or not_found), so values are never invented. Charged only when at least one field is found.","operationId":"extract_data","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005"},"protocols":[{"x402":{}},{"mpp":{"method":"tempo","intent":"charge","currency":"0x20c000000000000000000000b9537d11c60e8b50"}}]},"responses":{"200":{"description":"The answer","content":{"application/json":{"example":{"model":"gpt-oss-120b","url":"https://books.toscrape.com/catalogue/a-light-in-the-attic_1000/index.html","title":"A Light in the Attic | Books to Scrape - Sandbox","data":{"title":"A Light in the Attic","price":51.77,"availability":"In stock (22 available)"},"fields":{"title":{"value":"A Light in the Attic","quote":"# A Light in the Attic","status":"verified"},"price":{"value":51.77,"quote":"£51.77","status":"verified"},"availability":{"value":"In stock (22 available)","quote":"In stock (22 available)","status":"verified"}},"found":3,"requested":3,"page_chars":2783,"truncated":false,"plain":"3 of 3 field(s) found on the page: title \"A Light in the Attic\", price 51.77, availability \"In stock (22 available)\"."}}}},"400":{"description":"Bad input, not charged"},"402":{"description":"Payment required (x402)"},"503":{"description":"Upstream unavailable, not charged"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["fields"],"properties":{"url":{"type":"string","description":"A public http(s) URL"},"text":{"type":"string","description":"Text to read instead of a URL (up to 60,000 characters)"},"fields":{"type":"object","description":"Field name -> \"type: what it is\" (types: string, number, integer, boolean), e.g. {\"price\": \"number: the current price\"}; a JSON Schema with properties also works","additionalProperties":{"type":"string"}}}},"example":{"url":"https://books.toscrape.com/catalogue/a-light-in-the-attic_1000/index.html","fields":{"title":"string: the book title","price":"number: the price including tax","availability":"string: stock availability"}}}}}}},"/v1/watch":{"post":{"summary":"Watch one field on a web page for 30 days, e.g. a price, stock status or version number: it is read again every 15 to 1440 minutes and an alert goes to your webhook, Slack, Discord or Telegram when it changes, goes below or above a number, contains a text, or disappears. Returns the current value now; check status or stop it for free with the watch secret.","operationId":"watch_field","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.10"},"protocols":[{"x402":{}},{"mpp":{"method":"tempo","intent":"charge","currency":"0x20c000000000000000000000b9537d11c60e8b50"}}]},"responses":{"200":{"description":"The answer","content":{"application/json":{"example":{"watch_id":"fw_9820908db7fdbd98db209fe7","secret":"9f2c7d1e4b8a6f3c0d5e2a7b9c1f4e8d6a3b0c7e2f5d8a1b4c9e6f3a0d7b2c5e","url":"https://books.toscrape.com/catalogue/a-light-in-the-attic_1000/index.html","field":"price","when":"below","value":40,"current":51.77,"quote":"£51.77","every_minutes":60,"expires_at":"2026-11-24T21:47:37.699Z","callback_url":null,"format":"json","label":null,"status":{"method":"GET","url":"/watch/fw_9820908db7fdbd98db209fe7","header":"X-Watch-Secret: <secret>","price_usd":0},"stop":{"method":"DELETE","url":"/watch/fw_9820908db7fdbd98db209fe7","header":"X-Watch-Secret: <secret>","price_usd":0},"plain":"Watching price (now 51.77) on books.toscrape.com every 60 minutes for 30 days; alert when it is below 40. The secret is shown only now."}}}},"400":{"description":"Bad input, not charged"},"402":{"description":"Payment required (x402)"},"503":{"description":"Upstream unavailable, not charged"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["url","field"],"properties":{"url":{"type":"string","description":"A public http(s) URL"},"field":{"type":"string","description":"A short name for the field, e.g. price"},"description":{"type":"string","description":"What the field is, e.g. the current price of the product"},"when":{"type":"string","enum":["changes","below","above","contains","gone"],"description":"Default changes; below and above compare numbers; contains looks for text in the value; gone fires when the field is no longer on the page"},"value":{"description":"The number for below/above, or the text for contains"},"type":{"type":"string","enum":["string","number","integer","boolean"],"description":"The field's type (number for below and above)"},"every_minutes":{"type":"integer","minimum":15,"maximum":1440,"description":"How often the page is read (default 60)"},"callback_url":{"type":"string","description":"Optional https URL for alerts (a signed JSON POST); Slack and Discord incoming webhooks and https://api.telegram.org/bot<token>/sendMessage?chat_id=<id> get a readable message. Without it, poll the status."},"format":{"type":"string","enum":["json","slack","discord","telegram"],"description":"Detected from the callback host when left out"},"label":{"type":"string","description":"Optional name for your own reference"}}},"example":{"url":"https://books.toscrape.com/catalogue/a-light-in-the-attic_1000/index.html","field":"price","description":"the price including tax","when":"below","value":40}}}}}},"/v1/credits/1":{"post":{"summary":"Buy $1.00 of Agent Toolbox credits for $1: returns an API key (shown once) that pays for every tool over HTTP and MCP with no per-call payment. Send an existing key in X-API-Key to top it up instead.","operationId":"credits_1","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"1"},"protocols":[{"x402":{}},{"mpp":{"method":"tempo","intent":"charge","currency":"0x20c000000000000000000000b9537d11c60e8b50"}}]},"parameters":[{"name":"X-API-Key","in":"header","required":false,"schema":{"type":"string"},"description":"An existing key to top up; leave out for a new key"}],"responses":{"200":{"description":"The key (shown once) and the credits added","content":{"application/json":{"example":{"key":"atb_6f1c0e9a4b2d7c8e5f3a1b0c9d8e7f6a5b4c3d2e1f0a9b8c","key_id":"3f2a91c07d5e","credits_added_usd":5.5,"paid_usd":5,"bonus_usd":0.5,"balance":"GET /account with the key","plain":"New API key with $5.50 of credits. Send it as Authorization: Bearer atb_... on any tool or MCP call."}}}},"400":{"description":"Unknown key to top up, not charged"},"402":{"description":"Payment required (x402)"}}}},"/v1/credits/5":{"post":{"summary":"Buy $5.50 of Agent Toolbox credits for $5 (10% bonus): returns an API key (shown once) that pays for every tool over HTTP and MCP with no per-call payment. Send an existing key in X-API-Key to top it up instead.","operationId":"credits_5","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"5"},"protocols":[{"x402":{}},{"mpp":{"method":"tempo","intent":"charge","currency":"0x20c000000000000000000000b9537d11c60e8b50"}}]},"parameters":[{"name":"X-API-Key","in":"header","required":false,"schema":{"type":"string"},"description":"An existing key to top up; leave out for a new key"}],"responses":{"200":{"description":"The key (shown once) and the credits added","content":{"application/json":{"example":{"key":"atb_6f1c0e9a4b2d7c8e5f3a1b0c9d8e7f6a5b4c3d2e1f0a9b8c","key_id":"3f2a91c07d5e","credits_added_usd":5.5,"paid_usd":5,"bonus_usd":0.5,"balance":"GET /account with the key","plain":"New API key with $5.50 of credits. Send it as Authorization: Bearer atb_... on any tool or MCP call."}}}},"400":{"description":"Unknown key to top up, not charged"},"402":{"description":"Payment required (x402)"}}}},"/v1/credits/20":{"post":{"summary":"Buy $24.00 of Agent Toolbox credits for $20 (20% bonus): returns an API key (shown once) that pays for every tool over HTTP and MCP with no per-call payment. Send an existing key in X-API-Key to top it up instead.","operationId":"credits_20","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"20"},"protocols":[{"x402":{}},{"mpp":{"method":"tempo","intent":"charge","currency":"0x20c000000000000000000000b9537d11c60e8b50"}}]},"parameters":[{"name":"X-API-Key","in":"header","required":false,"schema":{"type":"string"},"description":"An existing key to top up; leave out for a new key"}],"responses":{"200":{"description":"The key (shown once) and the credits added","content":{"application/json":{"example":{"key":"atb_6f1c0e9a4b2d7c8e5f3a1b0c9d8e7f6a5b4c3d2e1f0a9b8c","key_id":"3f2a91c07d5e","credits_added_usd":5.5,"paid_usd":5,"bonus_usd":0.5,"balance":"GET /account with the key","plain":"New API key with $5.50 of credits. Send it as Authorization: Bearer atb_... on any tool or MCP call."}}}},"400":{"description":"Unknown key to top up, not charged"},"402":{"description":"Payment required (x402)"}}}},"/watch/{id}":{"get":{"summary":"A field watch's status, current value and last 20 alerts (free)","operationId":"watch_status","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"X-Watch-Secret","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Status"},"404":{"description":"No watch with this id and secret"}}},"delete":{"summary":"Stop a field watch (free)","operationId":"stop_watch","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"X-Watch-Secret","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Stopped"},"404":{"description":"No watch with this id and secret"}}}}}}