{"uid":"cap_Kd7HKlnhbTy80MeZwR_nm","slug":"email-extractor-api-1a9f87d7","name":"Email Extractor API","description":"Extract and deduplicate email addresses from supplied text or HTML for AI sales and research agents. Up to 10 documents and 16,000 total characters per call. No website fetching, mailbox verification, or lead database. Costs 0.01 USDC on Base per batch, including empty results.","url":"https://email-extractor-api.caveman-b2a-9e7ad5.workers.dev/v1/extract-emails?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"documents":{"type":"array","items":{"type":"object","required":["text"],"properties":{"id":{"type":"string","maxLength":80,"minLength":1,"description":"Optional unique caller document ID; defaults to its zero-based index."},"text":{"type":"string","maxLength":16000,"minLength":1}},"additionalProperties":false},"maxItems":10,"minItems":1,"description":"Text/HTML supplied by the caller; 16,000 total UTF-16 code units across documents. URLs are not fetched."}}},"responseSchema":{"type":"json","example":{"emails":["sales@example.com"],"version":"1.0.0","documents":[{"id":"contact-page","emails":["sales@example.com"],"truncated":false}],"truncated":false,"documentCount":1,"deliveryVerified":false,"uniqueEmailCount":1}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_MMt7e3Ki96el5xMdOsOor","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts and deduplicates email addresses from supplied text or HTML content, returning per-document and aggregate results.","exampleAgentPrompt":"Extract all unique email addresses from this HTML snippet I scraped from the contact page — here's the raw HTML: '<div>Contact us at sales@acme.com or support@acme.com</div>'.","exampleUseCases":[{"title":"Sales lead mining from scraped pages","prompt":"I've scraped the HTML from 5 company contact pages — can you pull out all the unique email addresses from each one so I can build a lead list?"},{"title":"Email harvesting from pasted newsletter","prompt":"Here's the raw text of a newsletter I copied — find every email address mentioned in it and give me a deduplicated list."},{"title":"Research contact extraction from documents","prompt":"I have 3 research articles in plain text and I need to collect all the author contact emails from them — extract and deduplicate the emails across all three documents."}],"resultDescription":"Returns a JSON object containing a top-level deduplicated list of all unique emails found, a count of unique emails, per-document breakdowns each with their own email list and a truncation flag, an overall truncation flag, and the document count processed. Does not verify deliverability of found addresses.","failureModes":["Input text exceeds 16,000 total UTF-16 characters — request rejected","More than 10 documents submitted — request rejected","No email addresses found in supplied text — returns empty emails array but still charges 0.01 USDC","Malformed JSON input — request rejected with validation error","Text contains obfuscated emails (e.g. 'user at domain dot com') — may not be extracted","Payment of 0.01 USDC on Base not completed — request blocked by x402 paywall"],"whenToPreferThis":"Choose this endpoint when you have raw text or HTML content already in hand and need to extract and deduplicate email addresses from it quickly without any web fetching or mailbox verification. It is ideal for processing up to 10 documents per call (up to 16,000 characters total) in sales research, lead generation, or contact discovery workflows where you control the input text. Do not use it if you need to fetch URLs, verify email deliverability, or query a lead database.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T00:36:57.790Z","isFirstParty":false,"canonicalSlug":"email-extractor-api-1a9f87d7"}