{"openapi":"3.1.0","info":{"title":"AgentBIT API","version":"1.0.0","description":"Autonomous API & AI agent tools, monetized per call via the x402 payment protocol."},"servers":[{"url":"https:\/\/agentbit.app"}],"paths":{"\/v1\/web\/search":{"post":{"operationId":"web_search","summary":"Web Search","description":"Live web search for AI agents: returns ranked results with title, URL, snippet, publish date and source. Neural + keyword search across the current web with automatic provider failover. Use it to find recent news, documentation, competitors, prices or any fact that needs a fresh source.\n\nPrice: 0.015000 USDC per call via x402.","tags":["web"],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"query":{"type":"string"},"limit":{"type":"integer"},"country":{"type":"string"},"language":{"type":"string"},"freshness_days":{"type":"integer"}},"required":["query"]},"example":{"query":"x402 payment protocol for AI agents","limit":3}}}},"responses":{"200":{"description":"Successful result","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","properties":{"results":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string"},"url":{"type":"string"},"snippet":{"type":"string"},"published_at":{"type":"string"},"source":{"type":"string"}},"required":[]}}},"required":[]},"meta":{"type":"object"}}}}}},"402":{"description":"Payment required (x402)"},"422":{"description":"Validation error"}}}},"\/v1\/web\/extract":{"post":{"operationId":"web_extract","summary":"Web Extract","description":"Fetch any public URL and return clean, structured content: title, meta description, main text, markdown, headings, outbound links and page metadata. Removes scripts, navigation and boilerplate. Ideal for reading articles, docs and product pages before reasoning over them.\n\nPrice: 0.005000 USDC per call via x402.","tags":["web"],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"url":{"type":"string"},"output_format":{"type":"string"},"render_fallback":{"type":"boolean"},"include_links":{"type":"boolean"}},"required":["url"]},"example":{"url":"https:\/\/example.com","include_links":true}}}},"responses":{"200":{"description":"Successful result","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","properties":{"title":{"type":"string"},"description":{"type":"string"},"markdown":{"type":"string"},"text":{"type":"string"},"headings":{"type":"array","items":{"type":"object","properties":{"__PHP_Incomplete_Class_Name":"stdClass"},"required":[]}},"links":{"type":"array","items":{"type":"object","properties":{"__PHP_Incomplete_Class_Name":"stdClass"},"required":[]}},"metadata":{"type":"object","properties":{"__PHP_Incomplete_Class_Name":"stdClass"},"required":[]}},"required":[]},"meta":{"type":"object"}}}}}},"402":{"description":"Payment required (x402)"},"422":{"description":"Validation error"}}}},"\/v1\/social\/reddit\/search":{"post":{"operationId":"reddit_search","summary":"Reddit Search","description":"Search Reddit posts by keyword, optionally within a subreddit, sorted by relevance, new or top over a timeframe. Returns title, subreddit, permalink, score, comment count, timestamp and post text \u2014 useful for sentiment, community feedback and trend research.\n\nPrice: 0.020000 USDC per call via x402.","tags":["social"],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"query":{"type":"string"},"subreddit":{"type":"string"},"sort":{"type":"string"},"timeframe":{"type":"string"},"limit":{"type":"integer"}},"required":["query"]},"example":{"query":"laravel 13","limit":3,"sort":"new"}}}},"responses":{"200":{"description":"Successful result","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","properties":{"results":{"type":"array","items":{"type":"object","properties":{"__PHP_Incomplete_Class_Name":"stdClass"},"required":[]}}},"required":[]},"meta":{"type":"object"}}}}}},"402":{"description":"Payment required (x402)"},"422":{"description":"Validation error"}}}},"\/v1\/company\/enrich":{"post":{"operationId":"company_enrich","summary":"Company Enrichment","description":"Company enrichment from a domain: canonical name, website, description, detected technologies (CMS, e-commerce platform, analytics), social profiles and mail infrastructure (MX). Live signals read from the company website and DNS \u2014 no stale database.\n\nPrice: 0.100000 USDC per call via x402.","tags":["business"],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"domain":{"type":"string"},"company_name":{"type":"string"}},"required":[]},"example":{"domain":"stripe.com"}}}},"responses":{"200":{"description":"Successful result","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","properties":{"company_name":{"type":"string"},"website":{"type":"string"},"technologies":{"type":"array","items":{"type":"string"}},"social":{"type":"array","items":{"type":"string"}}},"required":[]},"meta":{"type":"object"}}}}}},"402":{"description":"Payment required (x402)"},"422":{"description":"Validation error"}}}},"\/v1\/finance\/fx":{"post":{"operationId":"fx","summary":"FX Aggregator","description":"Live foreign-exchange rates for one or many currency pairs (e.g. EUR\/USD, EUR\/RON, USD\/JPY) with mid, indicative bid\/ask, source attribution, timestamp and confidence. ECB-derived reference rates, cached 30 seconds. Use for pricing, conversions and finance agents.\n\nPrice: 0.005000 USDC per call via x402.","tags":["finance"],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"pairs":{"type":"array","items":{"type":"string"}}},"required":["pairs"]},"example":{"pairs":["EUR\/USD","EUR\/RON"]}}}},"responses":{"200":{"description":"Successful result","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","properties":{"rates":{"type":"array","items":{"type":"object","properties":{"pair":{"type":"string"},"mid":{"type":"number"},"bid":{"type":"number"},"ask":{"type":"number"}},"required":[]}}},"required":[]},"meta":{"type":"object"}}}}}},"402":{"description":"Payment required (x402)"},"422":{"description":"Validation error"}}}},"\/v1\/business\/identity":{"post":{"operationId":"business_identity","summary":"LEI \/ Company Identity","description":"Legal entity identity via GLEIF: look up a company by LEI, search legal entities by name across jurisdictions, or validate an LEI checksum. Returns legal name, status, jurisdiction, registered address and registration details \u2014 authoritative data for KYB and compliance agents.\n\nPrice: 0.003000 USDC per call via x402.","tags":["business"],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"operation":{"type":"string"},"lei":{"type":"string"},"company_name":{"type":"string"}},"required":["operation"]},"example":{"operation":"lei_lookup","lei":"5493001KJTIIGC8Y1R12"}}}},"responses":{"200":{"description":"Successful result","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","properties":{"found":{"type":"boolean"},"legal_name":{"type":"string"},"jurisdiction":{"type":"string"}},"required":[]},"meta":{"type":"object"}}}}}},"402":{"description":"Payment required (x402)"},"422":{"description":"Validation error"}}}},"\/v1\/company\/research":{"post":{"operationId":"company_research","summary":"Company Research Dossier","description":"One-call company due-diligence dossier: web-signal enrichment (technologies, socials, mail), recent news from live web search, website agent-readiness score and technical risk indicators (DNS, SSL, domain age). Normalized JSON \u2014 replaces 4\u20136 separate calls when researching a vendor, lead or counterparty.\n\nPrice: 0.100000 USDC per call via x402.","tags":["business"],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"domain":{"type":"string"},"company_name":{"type":"string"}},"required":[]},"example":{"domain":"stripe.com"}}}},"responses":{"200":{"description":"Successful result","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","properties":{"company":{"type":"object","properties":{"__PHP_Incomplete_Class_Name":"stdClass"},"required":[]},"recent_news":{"type":"array","items":{"type":"object","properties":{"__PHP_Incomplete_Class_Name":"stdClass"},"required":[]}},"risk":{"type":"object","properties":{"__PHP_Incomplete_Class_Name":"stdClass"},"required":[]}},"required":[]},"meta":{"type":"object"}}}}}},"402":{"description":"Payment required (x402)"},"422":{"description":"Validation error"}}}},"\/v1\/x402\/intelligence":{"post":{"operationId":"x402_intelligence","summary":"x402 Market Intelligence","description":"Market analytics for the x402 ecosystem: search indexed resources, trending, seller reports with on-chain trend, price history over time, full market overview (sources, categories, price distribution, on-chain leaders), competition stats and scored opportunities. Built from continuously scanned public x402 indexes (Coinbase Bazaar, Agent402, Agentic Market) with historical snapshots.\n\nPrice: 0.020000 USDC per call via x402.","tags":["research"],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"operation":{"type":"string"},"q":{"type":"string"},"seller":{"type":"string"},"category":{"type":"string"}},"required":["operation"]},"example":{"operation":"competition","q":"web search"}}}},"responses":{"200":{"description":"Successful result","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","properties":{"results":{"type":"array","items":{"type":"object","properties":{"__PHP_Incomplete_Class_Name":"stdClass"},"required":[]}}},"required":[]},"meta":{"type":"object"}}}}}},"402":{"description":"Payment required (x402)"},"422":{"description":"Validation error"}}}},"\/v1\/risk\/counterparty":{"post":{"operationId":"counterparty_risk","summary":"Counterparty Risk","description":"Pre-transaction risk screening for a domain, company or email domain: DNS resolution, MX presence, SSL validity\/expiry, domain age via RDAP, website reachability. Returns risk score 0\u2013100, risk level, per-check results and evidence. Run it before an agent pays, emails or integrates with an unknown party.\n\nPrice: 0.050000 USDC per call via x402.","tags":["security"],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"subject":{"type":"string"},"subject_type":{"type":"string"}},"required":["subject"]},"example":{"subject":"example.com","subject_type":"domain"}}}},"responses":{"200":{"description":"Successful result","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","properties":{"risk_score":{"type":"number"},"risk_level":{"type":"string"},"checks":{"type":"object","properties":{"__PHP_Incomplete_Class_Name":"stdClass"},"required":[]},"evidence":{"type":"array","items":{"type":"object","properties":{"__PHP_Incomplete_Class_Name":"stdClass"},"required":[]}}},"required":[]},"meta":{"type":"object"}}}}}},"402":{"description":"Payment required (x402)"},"422":{"description":"Validation error"}}}},"\/v1\/website\/agent-readiness":{"post":{"operationId":"website_agent_readiness","summary":"Website Agent Readiness","description":"Audit any website for AI-agent and AI-crawler readiness: HTTPS, robots.txt and AI bot rules (GPTBot, ClaudeBot, PerplexityBot), llms.txt, sitemap, title\/meta, schema.org JSON-LD, security headers. Returns a 0\u2013100 score with failed checks, issues and concrete recommendations.\n\nPrice: 0.050000 USDC per call via x402.","tags":["web"],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"url":{"type":"string"}},"required":["url"]},"example":{"url":"https:\/\/example.com"}}}},"responses":{"200":{"description":"Successful result","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","properties":{"score":{"type":"integer"},"checks":{"type":"object","properties":{"__PHP_Incomplete_Class_Name":"stdClass"},"required":[]},"issues":{"type":"array","items":{"type":"string"}},"recommendations":{"type":"array","items":{"type":"string"}}},"required":[]},"meta":{"type":"object"}}}}}},"402":{"description":"Payment required (x402)"},"422":{"description":"Validation error"}}}},"\/v1\/email\/deliverability":{"post":{"operationId":"email_deliverability","summary":"Email Deliverability","description":"Email address deliverability and risk check before sending: syntax, domain, MX records, SPF, DMARC, disposable-provider detection and role-account detection. Returns a 0\u2013100 deliverability score, risk level and per-check details. Live DNS, no mailbox pinging.\n\nPrice: 0.030000 USDC per call via x402.","tags":["security"],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"email":{"type":"string"}},"required":["email"]},"example":{"email":"hello@example.com"}}}},"responses":{"200":{"description":"Successful result","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","properties":{"deliverability_score":{"type":"integer"},"risk":{"type":"string"},"checks":{"type":"object","properties":{"__PHP_Incomplete_Class_Name":"stdClass"},"required":[]}},"required":[]},"meta":{"type":"object"}}}}}},"402":{"description":"Payment required (x402)"},"422":{"description":"Validation error"}}}},"\/v1\/financial-document\/intelligence":{"post":{"operationId":"financial_document","summary":"Invoice \/ IBAN Intelligence","description":"Financial identifier validation: IBAN validation (format, length per country, mod-97 checksum), IBAN repair suggestions for OCR errors, EU VAT number format validation. Deterministic, instant, no third-party calls \u2014 for invoice, payment and onboarding agents.\n\nPrice: 0.020000 USDC per call via x402.","tags":["finance"],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"operation":{"type":"string"},"iban":{"type":"string"},"vat":{"type":"string"}},"required":["operation"]},"example":{"operation":"iban_validate","iban":"RO49AAAA1B31007593840000"}}}},"responses":{"200":{"description":"Successful result","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","properties":{"valid":{"type":"boolean"},"errors":{"type":"array","items":{"type":"string"}}},"required":[]},"meta":{"type":"object"}}}}}},"402":{"description":"Payment required (x402)"},"422":{"description":"Validation error"}}}},"\/v1\/util\/transform":{"post":{"operationId":"util_transform","summary":"Utility Transform","description":"Deterministic utility operations for agents: sha256\/sha512\/HMAC hashing, JWT decode, base64 encode\/decode, UUID generation, JSON validation, CSV\u2194JSON, XML\u2192JSON, URL parsing and semver comparison. Sub-millisecond, no external calls.\n\nPrice: 0.001000 USDC per call via x402.","tags":["utility"],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"operation":{"type":"string"},"input":{"type":"string"},"key":{"type":"string"},"algorithm":{"type":"string"},"a":{"type":"string"},"b":{"type":"string"}},"required":["operation"]},"example":{"operation":"sha256","input":"agentbit"}}}},"responses":{"200":{"description":"Successful result","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","properties":{"operation":{"type":"string"},"result":{"__PHP_Incomplete_Class_Name":"stdClass"}},"required":[]},"meta":{"type":"object"}}}}}},"402":{"description":"Payment required (x402)"},"422":{"description":"Validation error"}}}}}}