{"openapi":"3.1.0","x-agentcash-owner":"0x7C38096030c9CF41Ec551dAcDFC1aBaA60590AbC","x-discovery":{"ownershipProofs":["0x492c2e9d58f6d51d1e4871ad0592b8213e714456ef810d930f14bf4806209ab350606aca8a865ea952ed288286a173d7ff9ba106a052ce579f72c38f537cfc311c","0x47056518d92232dc64e9433593149a8c465ffc56cb6d309e56c50845dacc6c462c18512c67a2b54efbb1f7b5ed5a1670fb91e66560c1ba403b1906d950e96af71b"]},"x-agentcash-provenance":{"ownershipProofs":["0x492c2e9d58f6d51d1e4871ad0592b8213e714456ef810d930f14bf4806209ab350606aca8a865ea952ed288286a173d7ff9ba106a052ce579f72c38f537cfc311c","0x47056518d92232dc64e9433593149a8c465ffc56cb6d309e56c50845dacc6c462c18512c67a2b54efbb1f7b5ed5a1670fb91e66560c1ba403b1906d950e96af71b"]},"info":{"title":"Apollo.io B2B Data API — People & Company Search, Person & Organization Enrichment, Bulk Enrichment (x402)","version":"1.2.0","description":"Zero-signup, pay-per-call B2B data API powered by Apollo.io on Base Mainnet via x402 v2. Full-funnel intelligence: Search Organizations ($0.02) -> Search People ($0.01) -> Enrich Person ($0.03) / Bulk Enrich People ($0.025/ea); Enrich Organization ($0.02) / Bulk Enrich Organizations ($0.015/ea). Free-on-Miss: $0.00 charged if no deliverable match is found.","contact":{"email":"info@nrorvem.com"},"x-guidance":"Full-Funnel B2B Workflow for AI Agents: (1) Use POST /api/v1/search/organizations to discover target companies by keywords, industry, or employee count. (2) Use POST /api/v1/search/people with target domains or organization IDs to find relevant decision makers (0 credits upstream). (3) Use POST /api/v1/enrich/person or /api/v1/enrich/people/bulk with person IDs, LinkedIn URLs, or names + domains to resolve verified deliverable work emails. (4) Use POST /api/v1/enrich/organization to fetch complete firmographics, funding history, and tech stacks. Free-on-Miss guarantee: payments are verified first and ONLY settled on-chain when verified deliverable data is returned ($0.00 charged on misses). Unauthenticated calls return HTTP 402 with PAYMENT-REQUIRED header."},"servers":[{"url":"https://agent-distribution-gateway.vercel.app","description":"EnrichMatch Full-Funnel B2B Gateway"}],"paths":{"/api/v1/search/people":{"post":{"operationId":"searchPeople","summary":"Apollo.io B2B People Search — Find Decision-Maker IDs by Title, Seniority & Company (no emails; enrich to unlock) ($0.01 USDC / page — Free on Miss)","description":"Search professionals across 275M+ profiles. Returns partial identities with masked last names and no emails; use next_step (enrich_person) or unlock (bulk_enrich_people) with the returned Apollo IDs to resolve verified deliverable work emails. Free-on-Miss: settled only if at least one result has reachable email (has_email: true); $0.00 charged if zero reachable leads found.","tags":["b2b","prospecting","lead-generation","people-search","apollo","x402"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.010000"},"freeOnMiss":true,"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"description":"Search 275M+ professionals by title, seniority, company domain, keywords, or location.","properties":{"person_titles":{"type":"array","items":{"type":"string"},"description":"Job titles to filter by (e.g. ['CEO', 'VP Sales'])."},"person_seniorities":{"type":"array","items":{"type":"string","enum":["owner","founder","c_suite","partner","vp","head","director","manager","senior","entry","intern"]},"description":"Seniority levels."},"organization_domains":{"type":"array","items":{"type":"string"},"description":"Company primary domains (e.g. ['apollo.io', 'stripe.com'])."},"organization_ids":{"type":"array","items":{"type":"string"},"description":"Apollo organization IDs from search_organizations."},"person_locations":{"type":"array","items":{"type":"string"},"description":"Geographic locations (e.g. ['San Francisco', 'United States'])."},"employee_ranges":{"type":"array","items":{"type":"string"},"description":"Headcount ranges (e.g. ['1,10', '51,200', '1001,5000'])."},"keywords":{"type":"string","description":"Keyword search across bio and experience."},"page":{"type":"integer","minimum":1,"maximum":5,"default":1},"per_page":{"type":"integer","minimum":1,"maximum":25,"default":10}}},"example":{"organization_domains":["apollo.io"],"person_titles":["CEO","Founder"],"per_page":2}}}},"responses":{"200":{"description":"Successful execution (Priced at $0.01 USDC per page; settled on-chain only if at least one result has has_email: true ($0.00 charged if zero reachable leads found).)","content":{"application/json":{"schema":{"type":"object","required":["matched","source","pagination","people"],"properties":{"matched":{"type":"boolean"},"source":{"type":"string","enum":["apollo_live","apollo_mock"]},"pagination":{"type":"object","properties":{"page":{"type":"integer"},"per_page":{"type":"integer"},"total_entries":{"type":"integer"},"total_pages":{"type":"integer"}}},"people":{"type":"array","items":{"type":"object","properties":{"apollo_id":{"type":"string"},"first_name":{"type":"string"},"last_name":{"type":["string","null"]},"last_name_obfuscated":{"type":["string","null"]},"full_name":{"type":["string","null"]},"title":{"type":"string"},"seniority":{"type":["string","null"]},"linkedin_url":{"type":["string","null"]},"has_email":{"type":"boolean"},"location":{"type":"object","properties":{"city":{"type":["string","null"]},"state":{"type":["string","null"]},"country":{"type":["string","null"]}}},"organization":{"type":"object","properties":{"id":{"type":["string","null"]},"name":{"type":["string","null"]},"primary_domain":{"type":["string","null"]}}},"next_step":{"type":"object"}}}},"unlock":{"type":"object","properties":{"tool":{"type":"string"},"rest":{"type":"string"},"args":{"type":"object"},"remaining_batches":{"type":"array","items":{"type":"object","properties":{"details":{"type":"array"}}}},"estimated_price_usd":{"type":"string"},"description":{"type":"string"}}}}}}}},"402":{"description":"Payment Required (x402 challenge)"},"422":{"description":"Invalid input parameters"}}}},"/api/v1/search/organizations":{"post":{"operationId":"searchOrganizations","summary":"Apollo.io B2B Company & Organization Search ($0.02 USDC / page — Free on Miss)","description":"Discover target accounts by name, keywords, domain list, locations, and headcount. Returns firmographic summaries and primary domains with next_step links to company firmographics or people search.","tags":["b2b","account-intelligence","company-search","firmographics","apollo","x402"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.020000"},"freeOnMiss":true,"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"description":"Search 73M+ companies by name, domain, industry, location, or headcount.","properties":{"organization_name":{"type":"string","description":"Company name search (e.g. 'Instacart')."},"domains":{"type":"array","items":{"type":"string"},"description":"Specific company domains."},"keywords":{"type":"string","description":"Keywords or tags."},"organization_locations":{"type":"array","items":{"type":"string"},"description":"HQ locations."},"employee_ranges":{"type":"array","items":{"type":"string"},"description":"Headcount ranges (e.g. ['51,200'])."},"page":{"type":"integer","minimum":1,"maximum":5,"default":1},"per_page":{"type":"integer","minimum":1,"maximum":25,"default":10}}},"example":{"organization_name":"Instacart","per_page":2}}}},"responses":{"200":{"description":"Successful execution (Settled ($0.02) only if ≥ 1 company returned; $0.00 if zero results.)","content":{"application/json":{"schema":{"type":"object","required":["matched","source","pagination","organizations"],"properties":{"matched":{"type":"boolean"},"source":{"type":"string","enum":["apollo_live","apollo_mock"]},"pagination":{"type":"object","properties":{"page":{"type":"integer"},"per_page":{"type":"integer"},"total_entries":{"type":"integer"},"total_pages":{"type":"integer"}}},"organizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"primary_domain":{"type":["string","null"]},"website_url":{"type":["string","null"]},"industry":{"type":["string","null"]},"estimated_num_employees":{"type":["number","null"]},"linkedin_url":{"type":["string","null"]},"founded_year":{"type":["number","null"]},"city":{"type":["string","null"]},"country":{"type":["string","null"]},"next_step":{"type":"object"}}}}}}}}},"402":{"description":"Payment Required (x402 challenge)"},"422":{"description":"Invalid input parameters"}}}},"/api/v1/enrich/person":{"post":{"operationId":"enrichPerson","summary":"Enrich B2B person profile and find verified work email via Apollo.io ($0.03 USDC — Free on Miss)","description":"B2B Person Enrichment & Verified Work Email Finder (Apollo.io): Accepts flexible partial person identifiers—such as (1) LinkedIn profile URL only ('linkedin_url' or 'linkedin'), (2) work or personal email only ('email' for reverse email lookup), (3) name ('name' or 'first_name' + 'last_name') with company domain OR fuzzy company name ('domain', 'organization_name', or 'company', e.g. 'Meta' or 'meta.com'), or (4) Apollo person ID ('id')—and resolves a deterministic B2B executive/prospect profile with verified work email, job title, seniority, department, location, company firmographics, and employment history. Free-on-Miss: only settles payment ($0.03 USDC) when a verified person and deliverable email are returned.","tags":["B2B Enrichment","Email Finder","Apollo","Free on Miss"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.030000"},"freeOnMiss":true,"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"B2B Person Enrichment & Verified Work Email Finder (Apollo.io): Accepts flexible partial person identifiers—such as (1) LinkedIn profile URL only ('linkedin_url' or 'linkedin'), (2) work or personal email only ('email' for reverse email lookup), (3) name ('name' or 'first_name' + 'last_name') with company domain OR fuzzy company name ('domain', 'organization_name', or 'company', e.g. 'Meta' or 'meta.com'), or (4) Apollo person ID ('id')—and resolves a deterministic B2B executive/prospect profile with verified work email, job title, seniority, department, location, company firmographics, and employment history. Free-on-Miss: only settles payment ($0.03 USDC) when a verified person and deliverable email are returned.","anyOf":[{"required":["linkedin_url"]},{"required":["email"]},{"required":["id"]},{"required":["first_name","last_name"]},{"required":["name"]},{"required":["first_name","domain"]},{"required":["first_name","organization_name"]},{"required":["first_name","company"]},{"required":["last_name","domain"]},{"required":["last_name","organization_name"]},{"required":["last_name","company"]}],"properties":{"first_name":{"type":"string","description":"Target person's first name (e.g., 'Tim'). Optional if 'name', 'linkedin_url', 'email', or 'id' is provided."},"last_name":{"type":"string","description":"Target person's last name (e.g., 'Zheng'). Optional if 'name', 'linkedin_url', 'email', or 'id' is provided."},"name":{"type":"string","description":"Target person's full name (e.g., 'Tim Zheng'). Automatically split into first_name and last_name if needed."},"domain":{"type":"string","description":"Company website domain or URL (e.g., 'apollo.io', 'stripe.com'). Also accepts a company name (e.g., 'Meta', 'Google') and automatically resolves the canonical domain."},"organization_name":{"type":"string","description":"Company or organization name (e.g., 'Apollo.io', 'Meta', 'Google', 'Stripe') if exact domain is unknown."},"company":{"type":"string","description":"Alias for organization_name or domain (e.g., 'Meta', 'Stripe', 'instacart.com')."},"email":{"type":"string","description":"Known work or personal email address for reverse-email enrichment into full LinkedIn, title, firmographics, and career history."},"linkedin_url":{"type":"string","description":"Public LinkedIn profile URL (e.g., 'https://www.linkedin.com/in/tim-zheng') to resolve directly into a verified work email and company profile."},"id":{"type":"string","description":"Optional Apollo.io person ID for direct profile hydration."},"reveal_personal_emails":{"type":"boolean","description":"Whether to include verified personal emails if a corporate work email is unavailable (default: false)."}},"additionalProperties":true},"example":{"first_name":"Fidji","last_name":"Simo","domain":"instacart.com"},"examples":{"by_name_and_domain":{"summary":"Enrich by first/last name + domain","value":{"first_name":"Fidji","last_name":"Simo","domain":"instacart.com"}},"by_name_and_fuzzy_company":{"summary":"Enrich by full name + fuzzy company name","value":{"name":"Mark Zuckerberg","company":"Meta"}},"by_linkedin_url":{"summary":"Enrich by LinkedIn URL only","value":{"linkedin_url":"https://www.linkedin.com/in/tim-zheng"}},"by_email":{"summary":"Reverse-enrich by email address only","value":{"email":"tim@apollo.io"}}}}}},"responses":{"200":{"description":"Successful B2B person enrichment response (Free on Miss: payment_settled=false and $0.00 charged if no deliverable email is found)","content":{"application/json":{"schema":{"type":"object","description":"Deterministic B2B Person Profile & Firmographic Payload with cryptographic x402 payment receipt. Free on miss ($0.00 charged if no deliverable email is found).","required":["matched","timestamp","latency_ms","source","person"],"properties":{"matched":{"type":"boolean","description":"True if Apollo resolved the identifiers to a verified person record."},"timestamp":{"type":"string","description":"ISO-8601 execution timestamp."},"latency_ms":{"type":"number","description":"End-to-end API execution latency in milliseconds."},"source":{"type":"string","enum":["apollo_live","apollo_mock"]},"person":{"type":"object","nullable":true,"description":"Hydrated prospect/executive record (or null if matched is false).","properties":{"apollo_id":{"type":"string","description":"Unique Apollo.io person identifier."},"first_name":{"type":"string","nullable":true,"description":"First name."},"last_name":{"type":"string","nullable":true,"description":"Last name."},"full_name":{"type":"string","nullable":true,"description":"Full formatted name."},"title":{"type":"string","nullable":true,"description":"Current job title (e.g., 'Founder & CEO', 'VP of Engineering')."},"headline":{"type":"string","nullable":true,"description":"LinkedIn or professional headline."},"seniority":{"type":"string","nullable":true,"description":"Normalized seniority level (e.g., 'founder', 'c_suite', 'vp', 'director', 'manager')."},"departments":{"type":"array","items":{"type":"string"},"description":"Functional departments (e.g., 'c_suite', 'engineering', 'sales')."},"email":{"type":"string","nullable":true,"description":"Deliverable B2B work email address."},"email_status":{"type":"string","description":"Deliverability verification status ('verified', 'likely_to_engage', 'unavailable')."},"linkedin_url":{"type":"string","nullable":true,"description":"Canonical LinkedIn profile URL."},"twitter_url":{"type":"string","nullable":true,"description":"Twitter/X profile URL."},"github_url":{"type":"string","nullable":true,"description":"GitHub profile URL."},"location":{"type":"object","description":"Geographic location (city, state, country) of the individual.","properties":{"city":{"type":"string","nullable":true},"state":{"type":"string","nullable":true},"country":{"type":"string","nullable":true}}},"organization":{"type":"object","nullable":true,"description":"Current employer firmographics: company name, primary_domain, industry, estimated_num_employees (headcount), linkedin_url, and founded_year.","properties":{"id":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"website_url":{"type":"string","nullable":true},"primary_domain":{"type":"string","nullable":true},"industry":{"type":"string","nullable":true},"estimated_num_employees":{"type":"number","nullable":true},"linkedin_url":{"type":"string","nullable":true},"founded_year":{"type":"number","nullable":true}}},"employment_history":{"type":"array","description":"Chronological work history of current and past roles, companies, and start/end dates.","items":{"type":"object","properties":{"title":{"type":"string","nullable":true},"organization_name":{"type":"string","nullable":true},"start_date":{"type":"string","nullable":true},"end_date":{"type":"string","nullable":true},"current":{"type":"boolean"}}}}}}}}}}},"402":{"description":"Payment Required"},"422":{"description":"Invalid input parameters"}}}},"/api/v1/enrich/organization":{"post":{"operationId":"enrichOrganization","summary":"Apollo.io B2B Company Firmographics & Tech Stack Enrichment ($0.02 USDC / call — Free on Miss)","description":"Enriches full organization profile by company domain. Returns founded year, employee count, industry, funding history, annual revenue, tech stack, departmental headcount, and HQ phone line. Free-on-Miss: $0.00 charged if domain not found.","tags":["b2b","firmographics","company-enrichment","tech-stack","apollo","x402"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.020000"},"freeOnMiss":true,"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"description":"Company domain (required) to resolve full firmographics, funding, and tech stack.","properties":{"domain":{"type":"string","description":"Company primary domain (e.g. 'instacart.com')."},"organization_name":{"type":"string","description":"Company brand name (fallback)."}},"anyOf":[{"required":["domain"]},{"required":["organization_name"]}]},"example":{"domain":"apollo.io"}}}},"responses":{"200":{"description":"Successful execution (Settled ($0.02) only if organization is resolved; $0.00 if not found.)","content":{"application/json":{"schema":{"type":"object","required":["matched","source","organization"],"properties":{"matched":{"type":"boolean"},"payment_settled":{"type":"boolean"},"source":{"type":"string","enum":["apollo_live","apollo_mock"]},"organization":{"type":"object","properties":{"apollo_id":{"type":"string"},"name":{"type":"string"},"primary_domain":{"type":"string"},"website_url":{"type":"string"},"industry":{"type":"string"},"industries":{"type":"array","items":{"type":"string"}},"estimated_num_employees":{"type":"number"},"founded_year":{"type":"number"},"annual_revenue":{"type":"number"},"annual_revenue_printed":{"type":"string"},"total_funding":{"type":"number"},"total_funding_printed":{"type":"string"},"latest_funding_stage":{"type":"string"},"latest_funding_round_date":{"type":"string"},"phone":{"type":"string"},"city":{"type":"string"},"state":{"type":"string"},"country":{"type":"string"},"short_description":{"type":"string"},"technologies":{"type":"array","items":{"type":"string"}},"next_step":{"type":"object"}}}}}}}},"402":{"description":"Payment Required (x402 challenge)"},"422":{"description":"Invalid input parameters"}}}},"/api/v1/enrich/people/bulk":{"post":{"operationId":"bulkEnrichPeople","summary":"Apollo.io B2B Bulk Person Enrichment (Up to 10 Profiles) ($0.025 USDC / record — Free on Miss)","description":"Batch person enrichment for high-throughput agents (1 to 10 profiles per call). Free-on-Miss: settled only if at least one record returns a deliverable email; $0.00 if zero deliverable emails found. Charged for all submitted records if ≥ 1 email is found. Submit has_email: true IDs from search_people's unlock hint.","tags":["b2b","bulk-enrichment","lead-generation","batch-email-finder","apollo","x402"],"x-payment-info":{"price":{"mode":"dynamic","currency":"USD","min":"0.025000","max":"0.250000"},"freeOnMiss":true,"protocols":[{"x402":{}}],"x-pricing-note":"Priced per record submitted ($0.025 each); charged for all submitted records if ≥ 1 email is found; $0.00 if none. Submit has_email: true IDs from search_people's unlock hint."},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["details"],"description":"Batch of 1 to 10 person records to enrich with verified deliverable emails.","properties":{"details":{"type":"array","minItems":1,"maxItems":10,"items":{"type":"object","additionalProperties":true,"description":"Person identifiers: linkedin_url, email, id, or name + domain/organization_name.","properties":{"first_name":{"type":"string"},"last_name":{"type":"string"},"name":{"type":"string"},"domain":{"type":"string"},"organization_name":{"type":"string"},"company":{"type":"string"},"email":{"type":"string"},"linkedin_url":{"type":"string"},"id":{"type":"string"}}},"description":"Array of 1 to 10 person identifier objects."},"reveal_personal_emails":{"type":"boolean","default":false}}},"example":{"details":[{"first_name":"Tim","last_name":"Zheng","domain":"apollo.io"}]}}}},"responses":{"200":{"description":"Successful execution (Priced per record submitted ($0.025 each); charged for all submitted records if ≥ 1 email is found; $0.00 if none. Submit has_email: true IDs from search_people's unlock hint.)","content":{"application/json":{"schema":{"type":"object","required":["matched","submitted_count","matched_count","billable_count","results"],"properties":{"matched":{"type":"boolean"},"payment_settled":{"type":"boolean"},"submitted_count":{"type":"integer"},"matched_count":{"type":"integer"},"billable_count":{"type":"integer"},"results":{"type":"array","items":{"type":"object","properties":{"index":{"type":"integer"},"original_indices":{"type":"array","items":{"type":"integer"},"description":"Original 0-based indices from the submitted batch that map to this record."},"input_echo":{"type":"object"},"matched":{"type":"boolean"},"person":{"type":["object","null"]}}}}}}}}},"402":{"description":"Payment Required (x402 challenge)"},"422":{"description":"Invalid input parameters"}}}},"/api/v1/enrich/organizations/bulk":{"post":{"operationId":"bulkEnrichOrganizations","summary":"Apollo.io B2B Bulk Organization Firmographics (Up to 10 Domains) ($0.015 USDC / record — Free on Miss)","description":"Batch company enrichment for high-throughput agents (1 to 10 domains per call). Free-on-Miss: settled only if at least one organization is found; $0.00 if zero organizations resolved.","tags":["b2b","bulk-firmographics","account-intelligence","company-data","apollo","x402"],"x-payment-info":{"price":{"mode":"dynamic","currency":"USD","min":"0.015000","max":"0.150000"},"freeOnMiss":true,"protocols":[{"x402":{}}],"x-pricing-note":"Priced per domain submitted ($0.015 each); settled only if at least one organization is found; $0.00 if none."},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["domains"],"description":"Batch of 1 to 10 company domains to enrich firmographics.","properties":{"domains":{"type":"array","minItems":1,"maxItems":10,"items":{"type":"string"},"description":"Array of 1 to 10 company domains (e.g. ['apollo.io', 'stripe.com'])."}}},"example":{"domains":["apollo.io","stripe.com"]}}}},"responses":{"200":{"description":"Successful execution (Priced per domain submitted ($0.015 each); settled only if at least one organization is found; $0.00 if none.)","content":{"application/json":{"schema":{"type":"object","required":["matched","submitted_count","matched_count","results"],"properties":{"matched":{"type":"boolean"},"payment_settled":{"type":"boolean"},"submitted_count":{"type":"integer"},"matched_count":{"type":"integer"},"skipped":{"type":"array","items":{"type":"string"}},"results":{"type":"array","items":{"type":"object","properties":{"domain":{"type":"string"},"matched":{"type":"boolean"},"organization":{"type":["object","null"]}}}}}}}}},"402":{"description":"Payment Required (x402 challenge)"},"422":{"description":"Invalid input parameters"}}}}}}