{"openapi":"3.1.0","info":{"title":"KnowAPI","version":"1.0.0","description":"Agents build the data APIs they need: describe the data (POST /v1/requests) and get a live, cited API from official sources; or query dozens of verified datasets now. Free key: POST /v1/keys. MCP server at /mcp. No wallet? POST /v1/approvals returns a link for your user to approve credit by card."},"servers":[{"url":"https://api.knowapi.dev"}],"components":{"securitySchemes":{"apiKey":{"type":"http","scheme":"bearer"}}},"paths":{"/v1/catalog":{"get":{"operationId":"listApis","summary":"List public APIs (directory)","parameters":[{"name":"q","in":"query","required":false,"schema":{"type":"string"},"description":"Search text"}],"responses":{"200":{"description":"APIs with ids, descriptions and query parameters"}}}},"/v1/keys":{"post":{"operationId":"getFreeKey","summary":"Issue a key for one API. Free calls: the first 5 per network address within 48 hours of the first key from that address, shared by all its keys","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["api_id"],"properties":{"api_id":{"type":"string","format":"uuid"}}}}}},"responses":{"201":{"description":"{ api_key, free: {eligible, remaining, expires_at, reason}, next_action: {method, url, headers, params} }"},"429":{"description":"Daily key limit reached"}}}},"/v1/keys/limits":{"get":{"operationId":"keyLimits","summary":"Spending limits for this key: caps, spent today and this month, what is left","security":[{"apiKey":[]}],"responses":{"200":{"description":"Limits"}}},"post":{"operationId":"setKeyLimits","summary":"Set or lower this key's spending limits: {\"day_usd\":5,\"month_usd\":50} (only the owner raises them, on the account page)","security":[{"apiKey":[]}],"responses":{"200":{"description":"Limits"},"403":{"description":"Raising a limit needs the account owner"}}}},"/v1/monitoring":{"get":{"operationId":"monitoringList","summary":"Staff and vendor monitoring: your list (people and companies), the latest daily result for each, and available monthly proof reports (account key)","security":[{"apiKey":[]}],"responses":{"200":{"description":"List and reports"}}}},"/v1/monitoring/names":{"post":{"operationId":"monitoringAdd","summary":"Add people and companies to daily monitoring: {\"names\":[{\"name\":\"Acme LLC\",\"kind\":\"entity\",\"ref\":\"VEND-17\"},{\"name\":\"Jane Doe\",\"kind\":\"person\"}]}","security":[{"apiKey":[]}],"responses":{"200":{"description":"Added"},"402":{"description":"Trial ended: choose a plan"}}}},"/v1/monitoring/reports/{month}":{"get":{"operationId":"monitoringReport","summary":"Monthly screening proof report (YYYY-MM): every name, every check, results, matches, lists and a SHA-256 fingerprint","security":[{"apiKey":[]}],"parameters":[{"name":"month","in":"path","required":true,"schema":{"type":"string","pattern":"^\\d{4}-\\d{2}$"}}],"responses":{"200":{"description":"Report"},"404":{"description":"No checks that month"}}}},"/v1/apis/{api_id}/metadata":{"get":{"operationId":"apiMetadata","summary":"Facts about one API before you pay: sources, last successful read, update frequency, reporting period, coverage, how values are checked, confidence and known limitations (free, no key)","parameters":[{"name":"api_id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"API metadata"},"404":{"description":"Unknown API"}}}},"/v1/apis/{api_id}/query":{"get":{"operationId":"queryApi","summary":"Query an API (filters are listed per API in /v1/catalog query_docs)","security":[{"apiKey":[]}],"parameters":[{"name":"api_id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"since","in":"query","required":false,"schema":{"type":"string"},"description":"Only records new or changed since this date or timestamp; pass back next_since from your last call."}],"responses":{"200":{"description":"Data with provenance, coverage and quality warnings"},"401":{"description":"Missing or invalid key, or error wrong_api when the key was issued for a different API"},"402":{"description":"Free calls used or the 48-hour window ended: pay with x402 (PAYMENT-REQUIRED header), approve credit, or use the keyless /v1/demo examples"},"429":{"description":"Hourly limit reached"}}}},"/v1/data/us-population-verified":{"get":{"operationId":"usPopulation","tags":["Verified data"],"summary":"U.S. population: official annual estimates, latest monthly estimate and current-year projections from several sources, reconciled with lineage","parameters":[{"name":"history_years","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":70}},{"name":"require","in":"query","required":false,"schema":{"type":"string","enum":["multi_source"]},"description":"HTTP 424 instead of a single-source answer"}],"responses":{"200":{"description":"schema_version 2.0: current_year, views, derived_metrics, conflicts, fusion, quality, provenance"},"402":{"description":"Payment required (x402)"},"424":{"description":"Multi-source result required but not available"}}}},"/v2/data-products/plan":{"post":{"operationId":"planDataProduct","tags":["v2"],"summary":"Plan a data product from a description: structured intent and existing matching products; nothing is built","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["description"],"properties":{"description":{"type":"string","minLength":10,"maxLength":2000},"multi_source_required":{"type":"boolean"}}}}}},"responses":{"200":{"description":"intent, existing_products"},"503":{"description":"Planning paused"}}}},"/v2/data-products":{"post":{"operationId":"createDataProduct","tags":["v2"],"summary":"Create a data product (asynchronous, idempotent): returns a job","security":[{"apiKey":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":120}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["description"],"properties":{"description":{"type":"string","minLength":10,"maxLength":2000},"multi_source_required":{"type":"boolean"},"notify_url":{"type":"string","format":"uri"}}}}}},"responses":{"200":{"description":"Same Idempotency-Key and body: the existing job"},"202":{"description":"Job created"},"401":{"description":"Key required"},"409":{"description":"Idempotency-Key reused with a different body"}}}},"/v2/jobs/{job_id}":{"get":{"operationId":"getJob","tags":["v2"],"summary":"Creation job: status (NL-03), source decisions, validation, failures, product once live","security":[{"apiKey":[]}],"parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Job"},"404":{"description":"Not found (or not yours)"}}}},"/v2/catalog":{"get":{"operationId":"catalogV2","tags":["v2"],"summary":"Public catalog grouped by canonical dataset identity, with real samples and actual fusion status","responses":{"200":{"description":"Catalog"}}}},"/v2/data-products/{api_id}":{"get":{"operationId":"getDataProduct","tags":["v2"],"summary":"Product metadata: identity, fusion status, quality, sample, links to records, sources, schema, health","parameters":[{"name":"api_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Product"},"404":{"description":"Not found"}}}},"/v2/interest-subscriptions":{"post":{"operationId":"subscribeInterest","tags":["v2"],"summary":"Tell me when matching data is available: email (double opt-in) or webhook (key + challenge verification)","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"topic":{"type":"string"},"request_id":{"type":"string"},"channel":{"type":"string","enum":["email","webhook"]},"email":{"type":"string"},"webhook_url":{"type":"string"}}}}}},"responses":{"202":{"description":"Pending until confirmed"},"400":{"description":"Invalid"},"503":{"description":"Email delivery not configured"}}},"get":{"operationId":"listInterest","tags":["v2"],"summary":"Your subscriptions","security":[{"apiKey":[]}],"responses":{"200":{"description":"Subscriptions"}}}},"/v2/data-products/us-population/sources":{"get":{"operationId":"usPopulationSources","tags":["Verified data"],"summary":"Source registry for the U.S. population product: rights, lineage (independence group) and latest probes (free)","responses":{"200":{"description":"Sources"}}}},"/v2/data-products/us-population/health":{"get":{"operationId":"usPopulationHealth","tags":["Verified data"],"summary":"Latest fusion run: status, usable and independent sources, blocked sources, quality (free)","responses":{"200":{"description":"Health"},"503":{"description":"No run yet"}}}},"/v1/crypto/overview":{"get":{"operationId":"cryptoOverview","tags":["Crypto"],"summary":"Crypto Intelligence overview (free): latest stablecoin snapshot, signals, sanctioned holdings, products, sources and usage rights","responses":{"200":{"description":"Overview"}}}},"/v1/data/crypto-wallet-security-intelligence":{"get":{"operationId":"cryptoWallet","tags":["Crypto"],"summary":"Wallet security: US sanctions matches, issuer freezes, finalized balances, recent stablecoin transfers and approvals for a public address","parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string","maxLength":100},"example":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"},{"name":"chains","in":"query","required":false,"schema":{"type":"string"},"example":"ethereum,base"},{"name":"tokens","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"result (alert, watch or clear), flags with evidence, chains, transfers and approvals, coverage"},"402":{"description":"Payment required (x402)"}}}},"/v1/data/stablecoin-risk-intelligence":{"get":{"operationId":"stablecoinRisk","tags":["Crypto"],"summary":"Stablecoin supply by chain, net issuance, large mints/burns, issuer freezes vs sanctions lists, sanctioned holdings, on-chain peg","parameters":[{"name":"symbol","in":"query","required":false,"schema":{"type":"string","enum":["USDT","USDC","DAI","USDS","PYUSD","FDUSD"]}},{"name":"history","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":90}}],"responses":{"200":{"description":"data per stablecoin, flags, issuer_freezes, sanctioned_holdings, peg, coverage"},"402":{"description":"Payment required (x402)"}}}},"/v1/data/pharmacy-supply-safety":{"get":{"operationId":"pharmacySupplySafety","summary":"Pharmacy medicine shortage, recall and supplier screening evidence (independent findings, no cross-source join)","description":"Only available when published in the live catalog. Inspect metadata and current price before paying with key credit or x402.","tags":["Business intelligence"],"security":[{},{"apiKey":[]}],"parameters":[{"name":"ndc","required":false,"schema":{"type":"string"},"in":"query"},{"name":"medicine","required":false,"schema":{"type":"string"},"in":"query"},{"name":"upc","required":false,"schema":{"type":"string"},"in":"query"},{"name":"supplier","required":false,"schema":{"type":"string"},"in":"query"},{"name":"supplier_country","required":false,"schema":{"type":"string","pattern":"^[A-Za-z]{2}$"},"in":"query"}],"responses":{"200":{"description":"Per-entity findings by source, coverage, provenance"},"400":{"description":"Invalid identifiers"},"402":{"description":"Payment required"},"404":{"description":"Not published"},"503":{"description":"Source unavailable"}}}},"/v1/data/restaurant-opening-intelligence":{"get":{"operationId":"restaurantOpeningIntelligence","summary":"Potential NYC restaurant leads; no confirmed buying intent","description":"Only available when published in the live catalog. Inspect metadata and current price before paying with key credit or x402.","tags":["Business intelligence"],"security":[{},{"apiKey":[]}],"parameters":[{"name":"zip","required":true,"schema":{"type":"string","pattern":"^[0-9]{5}$"},"in":"query"},{"name":"days","required":false,"schema":{"type":"integer","minimum":1,"maximum":365},"in":"query"}],"responses":{"200":{"description":"Source-linked intelligence and coverage"},"400":{"description":"Invalid parameters"},"402":{"description":"Payment required"},"404":{"description":"Not published"},"503":{"description":"Source unavailable"}}}},"/v1/data/contract-intelligence":{"get":{"operationId":"contractIntelligence","summary":"Open federal opportunities with comparable award history","description":"Only available when published in the live catalog. Inspect metadata and current price before paying with key credit or x402.","tags":["Business intelligence"],"security":[{},{"apiKey":[]}],"parameters":[{"name":"naics","required":true,"schema":{"type":"string"},"in":"query"},{"name":"agency","required":false,"schema":{"type":"string"},"in":"query"}],"responses":{"200":{"description":"Source-linked intelligence and coverage"},"400":{"description":"Invalid parameters"},"402":{"description":"Payment required"},"404":{"description":"Not published"},"503":{"description":"Source unavailable"}}}},"/v1/data/healthcare-provider-risk":{"get":{"operationId":"providerRisk","summary":"NPI identity and supported exclusion matches; no clearance","description":"Only available when published in the live catalog. Inspect metadata and current price before paying with key credit or x402.","tags":["Business intelligence"],"security":[{},{"apiKey":[]}],"parameters":[{"name":"npi","required":true,"schema":{"type":"string","pattern":"^[0-9]{10}$"},"in":"query"}],"responses":{"200":{"description":"Source-linked intelligence and coverage"},"400":{"description":"Invalid parameters"},"402":{"description":"Payment required"},"404":{"description":"Not published"},"503":{"description":"Source unavailable"}}}},"/v1/data/commercial-inventory-safety":{"get":{"operationId":"inventorySafety","summary":"Batch recall check for up to ten product identifiers","description":"Only available when published in the live catalog. Inspect metadata and current price before paying with key credit or x402.","tags":["Business intelligence"],"security":[{},{"apiKey":[]}],"parameters":[{"name":"upcs","required":true,"schema":{"type":"string"},"in":"query"}],"responses":{"200":{"description":"Source-linked intelligence and coverage"},"400":{"description":"Invalid parameters"},"402":{"description":"Payment required"},"404":{"description":"Not published"},"503":{"description":"Source unavailable"}}}},"/v1/plans":{"get":{"operationId":"listPlans","summary":"Monthly plans: live prices, allowances and the pricing revision","responses":{"200":{"description":"revision and plans"}}}},"/v1/plans/buy":{"post":{"operationId":"buyPlan","summary":"Buy a monthly plan with your key (credit or x402). Send expected_price and revision from GET /v1/plans; a changed price returns 409.","security":[{"apiKey":[]}],"parameters":[{"name":"plan","in":"query","required":true,"schema":{"type":"string","enum":["starter","pro","business"]}},{"name":"expected_price","in":"query","required":false,"schema":{"type":"number"}},{"name":"revision","in":"query","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Plan active"},"402":{"description":"Payment required"},"409":{"description":"Price changed; confirm the current price"}}}},"/v1/collections":{"get":{"operationId":"listCollections","summary":"Live dashboards that combine several APIs","responses":{"200":{"description":"Collections"}}}},"/v1/collections/{slug}/data.json":{"get":{"operationId":"collectionData","summary":"Data behind a combined dashboard","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Sections with headline numbers and latest records"}}}},"/v1/requests":{"post":{"operationId":"requestData","summary":"Request an API for data we do not have yet (researched automatically; a few per hour per caller)","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["description"],"properties":{"description":{"type":"string","minLength":10,"maxLength":500}}}}}},"responses":{"202":{"description":"researching (request_id, status_url) or available_now (api_id)"},"429":{"description":"Limit reached"}}}},"/v1/data/know-product-recall":{"get":{"operationId":"know_product","summary":"Know: Product Recall Check by Barcode","description":"Is this product recalled? Give a UPC/EAN barcode (food products are named from USDA FoodData Central and also matched by brand and name) or a description; checks CPSC, FDA and NHTSA recalls (not USDA meat and poultry recalls: that publisher blocks automated access) and links each official notice. $0.01 per check. Pay per call with x402 (USDC on Base, no key) or use a key from POST /v1/keys.","tags":["Know"],"security":[{},{"apiKey":[]}],"parameters":[{"name":"upc","in":"query","required":false,"schema":{"type":"string"},"description":"Barcode: UPC/EAN digits.","example":"036000291452"},{"name":"q","in":"query","required":false,"schema":{"type":"string"},"description":"Description: Instead of a barcode.","example":"baby crib"},{"name":"brand","in":"query","required":false,"schema":{"type":"string"},"description":"Brand: With q= to match recalls by brand and name.","example":"Acme"}],"responses":{"200":{"description":"result (alert, watch or clear), headline and findings, each with its official source"},"400":{"description":"Missing or unreadable input"},"402":{"description":"Payment required (x402): $0.01"}}}},"/v1/data/know-medicine-check":{"get":{"operationId":"know_med","summary":"Know: Medicine Shortage, Recall, Expiry and Fair Price","description":"One check for a medicine (NDC or name): FDA shortages, recalls for your lot, FDA boxed warnings and recent label changes, expiry reminder and what pharmacies pay (NADAC) so you know if you overpay. $0.01 per check. Pay per call with x402 (USDC on Base, no key) or use a key from POST /v1/keys.","tags":["Know"],"security":[{},{"apiKey":[]}],"parameters":[{"name":"ndc10","in":"query","required":false,"schema":{"type":"string"},"description":"NDC: 10-digit NDC.","example":"0045044910"},{"name":"name","in":"query","required":false,"schema":{"type":"string"},"description":"Medicine name: Instead of an NDC.","example":"amoxicillin"},{"name":"expires","in":"query","required":false,"schema":{"type":"string"},"description":"Expiry: YYYY-MM.","example":"2027-03"},{"name":"lot","in":"query","required":false,"schema":{"type":"string"},"description":"Lot: Lot number for lot recalls.","example":"AB123"},{"name":"quantity","in":"query","required":false,"schema":{"type":"string"},"description":"Quantity: With paid= for a fair-price check.","example":"30"},{"name":"paid","in":"query","required":false,"schema":{"type":"string"},"description":"Paid (USD): What you paid.","example":"24.99"}],"responses":{"200":{"description":"result (alert, watch or clear), headline and findings, each with its official source"},"400":{"description":"Missing or unreadable input"},"402":{"description":"Payment required (x402): $0.01"}}}},"/v1/data/know-vehicle-recalls":{"get":{"operationId":"know_vehicle","summary":"Know: Vehicle Recalls by VIN","description":"Safety recalls for a car from its 17-character VIN (or make, model and year), plus owner complaint trends filed with NHTSA (top problems, crashes, fires), with official links. $0.01 per check. Pay per call with x402 (USDC on Base, no key) or use a key from POST /v1/keys.","tags":["Know"],"security":[{},{"apiKey":[]}],"parameters":[{"name":"vin","in":"query","required":false,"schema":{"type":"string"},"description":"VIN: 17 characters (from the door frame or registration).","example":"1HGCV1F30JA000000"},{"name":"make","in":"query","required":false,"schema":{"type":"string"},"description":"Make: With model= and year= instead of a VIN.","example":"honda"},{"name":"model","in":"query","required":false,"schema":{"type":"string"},"description":"Model: With make= and year=.","example":"accord"},{"name":"year","in":"query","required":false,"schema":{"type":"string"},"description":"Year: Model year.","example":"2018"}],"responses":{"200":{"description":"result (alert, watch or clear), headline and findings, each with its official source"},"400":{"description":"Missing or unreadable input"},"402":{"description":"Payment required (x402): $0.01"}}}},"/v1/data/know-flight-disruptions":{"get":{"operationId":"know_flight","summary":"Know: Airport Disruption and Trip Check","description":"Will my trip be disrupted? Live FAA ground stops, closures and delays at both airports, NWS warnings at a US destination, or the State Department advisory and CDC notices abroad. Airport-wide status, not the status of one flight. $0.01 per check. Pay per call with x402 (USDC on Base, no key) or use a key from POST /v1/keys.","tags":["Know"],"security":[{},{"apiKey":[]}],"parameters":[{"name":"from","in":"query","required":false,"schema":{"type":"string"},"description":"From: 3-letter airport code.","example":"ORD"},{"name":"to","in":"query","required":false,"schema":{"type":"string"},"description":"To: 3-letter airport code.","example":"LGA"},{"name":"date","in":"query","required":false,"schema":{"type":"string"},"description":"Date: YYYY-MM-DD, today or later.","example":"2026-12-20"}],"responses":{"200":{"description":"result (alert, watch or clear), headline and findings, each with its official source"},"400":{"description":"Missing or unreadable input"},"402":{"description":"Payment required (x402): $0.01"}}}},"/v1/data/know-near-me":{"get":{"operationId":"know_place","summary":"Know: What Is Happening Near Me","description":"For a location: power outages in the county, NWS weather warnings, unhealthy air quality (EPA AirNow), wildfires within 80 km (NIFC), earthquakes within 150 km and federal disaster declarations, each with its official source. $0.01 per check. Pay per call with x402 (USDC on Base, no key) or use a key from POST /v1/keys.","tags":["Know"],"security":[{},{"apiKey":[]}],"parameters":[{"name":"lat","in":"query","required":false,"schema":{"type":"string"},"description":"Latitude: Decimal degrees.","example":"30.27"},{"name":"lon","in":"query","required":false,"schema":{"type":"string"},"description":"Longitude: Decimal degrees.","example":"-97.74"}],"responses":{"200":{"description":"result (alert, watch or clear), headline and findings, each with its official source"},"400":{"description":"Missing or unreadable input"},"402":{"description":"Payment required (x402): $0.01"}}}},"/v1/data/know-allergen-recalls":{"get":{"operationId":"know_allergy","summary":"Know: Undeclared Allergen Recalls","description":"FDA recalls for undeclared allergens (peanut, tree nut, milk, egg, wheat, soy, sesame, fish, shellfish) in the last 45 days; brands you give are flagged first. $0.01 per check. Pay per call with x402 (USDC on Base, no key) or use a key from POST /v1/keys.","tags":["Know"],"security":[{},{"apiKey":[]}],"parameters":[{"name":"allergens","in":"query","required":false,"schema":{"type":"string"},"description":"Allergens: Comma separated.","example":"peanut,milk"},{"name":"brands","in":"query","required":false,"schema":{"type":"string"},"description":"Brands: Optional, comma separated.","example":"acme"}],"responses":{"200":{"description":"result (alert, watch or clear), headline and findings, each with its official source"},"400":{"description":"Missing or unreadable input"},"402":{"description":"Payment required (x402): $0.01"}}}},"/v1/data/know-tire-check":{"get":{"operationId":"know_tire","summary":"Know: Tire Age and Recall Check (DOT code)","description":"How old are these tires and are they recalled? Build week and year from the DOT code, replacement advice at 6 and 10 years, and NHTSA tire recalls by brand and model. $0.01 per check. Pay per call with x402 (USDC on Base, no key) or use a key from POST /v1/keys.","tags":["Know"],"security":[{},{"apiKey":[]}],"parameters":[{"name":"tin","in":"query","required":false,"schema":{"type":"string"},"description":"DOT code: From the sidewall.","example":"DOT U2LL LMLR 0718"},{"name":"brand","in":"query","required":false,"schema":{"type":"string"},"description":"Brand: For recalls.","example":"Michelin"},{"name":"model","in":"query","required":false,"schema":{"type":"string"},"description":"Model: Optional.","example":"Defender"}],"responses":{"200":{"description":"result (alert, watch or clear), headline and findings, each with its official source"},"400":{"description":"Missing or unreadable input"},"402":{"description":"Payment required (x402): $0.01"}}}},"/v1/data/know-device-security":{"get":{"operationId":"know_device","summary":"Know: Device Security Check (exploited flaws)","description":"Is my phone, computer, browser or router under active attack? CISA Known Exploited Vulnerabilities for that system or brand in the last 60 days. $0.01 per check. Pay per call with x402 (USDC on Base, no key) or use a key from POST /v1/keys.","tags":["Know"],"security":[{},{"apiKey":[]}],"parameters":[{"name":"os","in":"query","required":false,"schema":{"type":"string"},"description":"System: iOS, iPadOS, Android, Windows, macOS, ChromeOS.","example":"iOS"},{"name":"browser","in":"query","required":false,"schema":{"type":"string"},"description":"Browser: Chrome, Safari, Edge, Firefox.","example":"Chrome"},{"name":"brand","in":"query","required":false,"schema":{"type":"string"},"description":"Brand: Router or smart device maker.","example":"Netgear"}],"responses":{"200":{"description":"result (alert, watch or clear), headline and findings, each with its official source"},"400":{"description":"Missing or unreadable input"},"402":{"description":"Payment required (x402): $0.01"}}}},"/v1/data/know-safety-gear":{"get":{"operationId":"know_safety","summary":"Know: Car Seat, Smoke Alarm, CO Alarm and Extinguisher Expiry and Recalls","description":"When does this car seat, smoke alarm, carbon monoxide alarm or fire extinguisher expire, and is it recalled? Printed expiry or the usual service life from the manufacture date, plus CPSC/NHTSA recalls by brand and model. $0.01 per check. Pay per call with x402 (USDC on Base, no key) or use a key from POST /v1/keys.","tags":["Know"],"security":[{},{"apiKey":[]}],"parameters":[{"name":"type","in":"query","required":false,"schema":{"type":"string"},"description":"Type: car_seat, smoke_alarm, co_alarm or extinguisher.","example":"smoke_alarm"},{"name":"made","in":"query","required":false,"schema":{"type":"string"},"description":"Made: Manufacture date from the label (YYYY-MM).","example":"2016-05"},{"name":"expires","in":"query","required":false,"schema":{"type":"string"},"description":"Expires: Printed expiry, if any.","example":"2030-01"},{"name":"brand","in":"query","required":false,"schema":{"type":"string"},"description":"Brand: For recalls.","example":"Kidde"},{"name":"model","in":"query","required":false,"schema":{"type":"string"},"description":"Model: For recalls.","example":"i9010"}],"responses":{"200":{"description":"result (alert, watch or clear), headline and findings, each with its official source"},"400":{"description":"Missing or unreadable input"},"402":{"description":"Payment required (x402): $0.01"}}}},"/v1/data/know-appliance-recalls":{"get":{"operationId":"know_appliance","summary":"Know: Home Appliance Recall Check by Model Number","description":"Is my dryer, space heater, pressure cooker, dehumidifier or other appliance recalled? Matches the brand and model number from its sticker against CPSC recalls. $0.01 per check. Pay per call with x402 (USDC on Base, no key) or use a key from POST /v1/keys.","tags":["Know"],"security":[{},{"apiKey":[]}],"parameters":[{"name":"brand","in":"query","required":false,"schema":{"type":"string"},"description":"Brand: From the model sticker.","example":"Whirlpool"},{"name":"model","in":"query","required":false,"schema":{"type":"string"},"description":"Model number: From the model sticker.","example":"WED4815EW"},{"name":"type","in":"query","required":false,"schema":{"type":"string"},"description":"Type: Optional: dryer, heater, pressure cooker...","example":"dryer"}],"responses":{"200":{"description":"result (alert, watch or clear), headline and findings, each with its official source"},"400":{"description":"Missing or unreadable input"},"402":{"description":"Payment required (x402): $0.01"}}}},"/v1/data/know-pet-recalls":{"get":{"operationId":"know_pet","summary":"Know: Pet Food, Treat and Pet Medicine Recalls","description":"Recalls of dog food, cat food, treats and animal medicines from the FDA in the last 90 days; brands you give are flagged first. $0.01 per check. Pay per call with x402 (USDC on Base, no key) or use a key from POST /v1/keys.","tags":["Know"],"security":[{},{"apiKey":[]}],"parameters":[{"name":"species","in":"query","required":false,"schema":{"type":"string"},"description":"Pet: dog, cat or other.","example":"dog"},{"name":"brands","in":"query","required":false,"schema":{"type":"string"},"description":"Brands: Optional, comma separated.","example":"purina,blue buffalo"}],"responses":{"200":{"description":"result (alert, watch or clear), headline and findings, each with its official source"},"400":{"description":"Missing or unreadable input"},"402":{"description":"Payment required (x402): $0.01"}}}},"/v1/data/know-data-breaches":{"get":{"operationId":"know_breach","summary":"Know: Data Breach Watch for the Companies You Use","description":"Did my bank, insurer, doctor or a store I use report a data breach? Breach notices filed with the California and Washington attorneys general in the last 12 months, matched to the companies you list. $0.01 per check. Pay per call with x402 (USDC on Base, no key) or use a key from POST /v1/keys.","tags":["Know"],"security":[{},{"apiKey":[]}],"parameters":[{"name":"companies","in":"query","required":false,"schema":{"type":"string"},"description":"Companies: Comma separated, up to 25.","example":"Boston Scientific,Acme Bank"}],"responses":{"200":{"description":"result (alert, watch or clear), headline and findings, each with its official source"},"400":{"description":"Missing or unreadable input"},"402":{"description":"Payment required (x402): $0.01"}}}},"/v1/data/know-drinking-water":{"get":{"operationId":"know_water","summary":"Know: Drinking Water Violations for Your Water System","description":"Is my tap water system in trouble? EPA health-based drinking water violations (contaminant limits, treatment rules) and unresolved violations for your public water system, last 5 years. $0.01 per check. Pay per call with x402 (USDC on Base, no key) or use a key from POST /v1/keys.","tags":["Know"],"security":[{},{"apiKey":[]}],"parameters":[{"name":"city","in":"query","required":false,"schema":{"type":"string"},"description":"City: With state= (the largest system for that city is used).","example":"Austin"},{"name":"state","in":"query","required":false,"schema":{"type":"string"},"description":"State: 2-letter code.","example":"TX"},{"name":"pwsid","in":"query","required":false,"schema":{"type":"string"},"description":"Water system id: From your water bill or annual report, instead of city.","example":"TX2270001"}],"responses":{"200":{"description":"result (alert, watch or clear), headline and findings, each with its official source"},"400":{"description":"Missing or unreadable input"},"402":{"description":"Payment required (x402): $0.01"}}}},"/v1/data/ask":{"get":{"operationId":"ask","tags":["Ask"],"summary":"Ask a factual question; cited answer from verified official datasets","description":"Routes the question to up to three of our verified datasets, returns the records with sources and an answer whose every value is checked against them. If no dataset covers it, says so (and how to request it). Pay per call with x402 (no key) or use a key.","security":[{},{"apiKey":[]}],"parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string","maxLength":500},"example":"Which FDA drug shortages involve amoxicillin?"}],"responses":{"200":{"description":"answer (or null), answer_check, results per dataset with records and provenance"},"402":{"description":"Payment required (x402): $0.25"}}}},"/v1/data/ask/{id}":{"get":{"operationId":"askReuse","tags":["Ask"],"summary":"Re-run a saved question on fresh data (no AI)","description":"The reuse.url returned by ask: the same verified datasets and filters, read now. Normal call price.","security":[{},{"apiKey":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"since","in":"query","required":false,"schema":{"type":"string"},"description":"Only records new or changed since next_since of your last call."}],"responses":{"200":{"description":"Records per dataset with provenance, next_since"},"402":{"description":"Payment required (x402)"}}}},"/v1/data/compliance-screening":{"get":{"operationId":"screenEntity","tags":["Compliance"],"summary":"Screen a company or person against US sanctions, export and healthcare exclusion lists","description":"One search across the US Consolidated Screening List (OFAC SDN and other Treasury lists, BIS Entity/Denied/Unverified/MEU, State ITAR and nonproliferation) HHS OIG LEIE and SAM.gov federal exclusions (debarments, suspensions), refreshed daily. Strong and possible matches with the list and official link. Pay per call with x402 (no key) or use a key.","security":[{},{"apiKey":[]}],"parameters":[{"name":"name","in":"query","required":true,"schema":{"type":"string"},"example":"Acme Trading","description":"Company or person name"},{"name":"kind","in":"query","required":false,"schema":{"type":"string","enum":["person","entity"]}},{"name":"country","in":"query","required":false,"schema":{"type":"string"},"description":"2-letter country code"}],"responses":{"200":{"description":"Matches with list, score and source"},"402":{"description":"Payment required (x402)"}}}},"/v1/demo/{example}":{"get":{"operationId":"demoExample","tags":["Demo"],"summary":"Free restricted example: up to 5 stored sample records, 10 requests per hour per visitor, no payment","security":[{}],"parameters":[{"name":"example","in":"path","required":true,"schema":{"type":"string","enum":["ask-shortages","drug-shortages","pharmacy-supply-safety","nursing-homes","medicare-enrollment","building-permits"]}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":5}}],"responses":{"200":{"description":"Sample records with coverage label and provenance"},"429":{"description":"Demo limit reached"}}}},"/v1/screen/batch":{"post":{"operationId":"screenBatch","tags":["Compliance"],"summary":"Screen up to 100 names in one call","security":[{"apiKey":[]},{}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["names"],"properties":{"names":{"type":"array","maxItems":100,"items":{"type":"string"}}}}}}},"responses":{"200":{"description":"Matches per name"},"402":{"description":"Payment required (x402)"}}}},"/v1/data/federal-contract-opportunities":{"get":{"operationId":"govContractOpportunities","tags":["Gov contracts"],"summary":"New US federal contract opportunities (SAM.gov), refreshed daily","description":"Solicitations, sources sought, presolicitations and award notices: title, agency, NAICS code, set-aside, place of performance, posted date and response deadline. Every field is a filter. Pay per call with x402 (no key) or use a key.","security":[{},{"apiKey":[]}],"parameters":[{"name":"q","in":"query","required":false,"schema":{"type":"string"},"example":"janitorial"},{"name":"naics_code","in":"query","required":false,"schema":{"type":"string"},"example":"561720"},{"name":"place_state","in":"query","required":false,"schema":{"type":"string"},"example":"TX"},{"name":"set_aside__contains","in":"query","required":false,"schema":{"type":"string"},"example":"SBA"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500}}],"responses":{"200":{"description":"Opportunities with provenance"},"402":{"description":"Payment required (x402)"}}}},"/v2/composite-apis/plan":{"post":{"operationId":"planCompositeApi","tags":["Composite"],"summary":"Plan a joined API (free, stores nothing)","description":"Body: {description?, sources?:[{alias,api_id}], spec?:{relationships,select}}. Returns candidates, schemas, typed relationship proposals measured on real records, and a dry run.","responses":{"200":{"description":"Plan"}}}},"/v2/composite-apis":{"post":{"operationId":"createCompositeApi","tags":["Composite"],"summary":"Validate on real records and publish a composite API","security":[{"apiKey":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string"}}],"description":"See /v2/composite-apis/docs for the spec schema and error codes.","responses":{"201":{"description":"Published"},"202":{"description":"Awaiting requested sources"},"422":{"description":"Rejected with error codes and evidence"}}},"get":{"operationId":"listCompositeApis","tags":["Composite"],"summary":"Your composites","security":[{"apiKey":[]}],"responses":{"200":{"description":"List"}}}},"/v2/composite-apis/{id}":{"get":{"operationId":"compositeApiStatus","tags":["Composite"],"summary":"Status, validation evidence, freshness, dependency graph (owner)","security":[{"apiKey":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Status"},"404":{"description":"Not found or not yours"}}}},"/v2/composite-apis/{id}/refresh":{"post":{"operationId":"refreshCompositeApi","tags":["Composite"],"summary":"Dependency-aware refresh (owner, 6 per hour)","security":[{"apiKey":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"202":{"description":"Refresh result"}}}},"/v2/composite-apis/{id}/versions":{"get":{"operationId":"compositeApiVersions","tags":["Composite"],"summary":"Versioned definitions and graphs (owner)","security":[{"apiKey":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Versions"}}},"post":{"operationId":"newCompositeApiVersion","tags":["Composite"],"summary":"Submit a new definition version (owner); the current version keeps serving until it validates","security":[{"apiKey":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Result"},"422":{"description":"Rejected"}}}},"/v2/building-blocks":{"get":{"operationId":"listBuildingBlocks","tags":["Composite"],"summary":"Reusable public datasets and composites (license-eligible only)","responses":{"200":{"description":"Blocks"}}}},"/v2/building-blocks/match":{"post":{"operationId":"matchBuildingBlocks","tags":["Composite"],"summary":"Check whether existing blocks already cover a data need","responses":{"200":{"description":"Verdict and matches"}}}},"/v2/composite-apis/scout":{"post":{"operationId":"scoutComposites","tags":["Composite"],"summary":"Scout relationship opportunities (key; bounded; stores nothing)","responses":{"200":{"description":"Ranked, measured proposals"}}}},"/v2/ecosystem/graph":{"get":{"operationId":"ecosystemGraph","tags":["Composite"],"summary":"Measured relationship graph between public datasets, with coverage","responses":{"200":{"description":"Edges with kind, evidence and versions; coverage measured"}}}},"/v2/ecosystem/plan":{"post":{"operationId":"ecosystemPlan","tags":["Composite"],"summary":"Multi-hop (3+ dataset) plans over validated relationships; publishes nothing","responses":{"200":{"description":"Ranked, validated plans with specs"}}}},"/v2/composite-apis/analyze":{"post":{"operationId":"analyzeRelationship","tags":["Composite"],"summary":"Measure one join on real records","responses":{"200":{"description":"Evidence"}}}},"/v2/composite-apis/docs":{"get":{"operationId":"compositeApiDocs","tags":["Composite"],"summary":"Machine-readable spec schema, limits, pricing, errors and limitations","responses":{"200":{"description":"Docs"}}}},"/v2/quotes":{"post":{"operationId":"quoteData","tags":["Pricing"],"summary":"Free quote: price of N calls to an API and/or whether existing blocks already cover a described need versus a new build","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"api_id":{"type":"string"},"description":{"type":"string","maxLength":500},"calls":{"type":"integer"}}}}}},"responses":{"200":{"description":"Quote"},"429":{"description":"Rate limited"}}}},"/v2/manifest":{"get":{"operationId":"manifest","tags":["Discovery"],"summary":"Machine-readable lifecycle (lifecycle_graph: stages, edges, tools, paths), pricing, limits and live-versus-pending features (same as /.well-known/knowapi.json)","responses":{"200":{"description":"Manifest"}}}},"/v2/demand-board":{"get":{"operationId":"browseDemand","tags":["Demand"],"summary":"Public board of data people and agents asked for, ranked by distinct requesters (read is open)","responses":{"200":{"description":"Entries"}}},"post":{"operationId":"postDemand","tags":["Demand"],"summary":"List a data need (publish:true required; key; 5 new entries a day)","security":[{"apiKey":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["description","publish"],"properties":{"description":{"type":"string"},"publish":{"type":"boolean"}}}}}},"responses":{"200":{"description":"Entry"},"401":{"description":"Key required"}}}},"/v2/ecosystem/edges/{id}":{"get":{"operationId":"ecosystemEdge","tags":["Composite"],"summary":"One measured relationship: kind, evidence, versions","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Edge"},"404":{"description":"Unknown edge"}}}},"/v2/ecosystem/analyze":{"post":{"operationId":"ecosystemAnalyze","tags":["Composite"],"summary":"Measure one join between two datasets and classify it (identity, probable_identity, correlation); causality is never established","responses":{"200":{"description":"Evidence"}}}},"/v2/creator/program":{"get":{"operationId":"creatorProgram","tags":["Creator"],"summary":"Creator reward rules and current status (public). Crediting starts once cost inputs are configured; payouts are not available","responses":{"200":{"description":"Program"}}}},"/v2/creator/summary":{"get":{"operationId":"creatorSummary","tags":["Creator"],"summary":"Your attributed products and earnings (account key); also /v2/creator/products and /v2/creator/ledger","security":[{"apiKey":[]}],"responses":{"200":{"description":"Summary"},"401":{"description":"Key required"}}}},"/v1/apis/{api_id}/alerts":{"post":{"operationId":"createAlert","tags":["Alerts"],"summary":"Get notified of new records matching filters (key)","security":[{"apiKey":[]}],"parameters":[{"name":"api_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Alert created"}}}},"/v1/alerts":{"get":{"operationId":"listAlerts","tags":["Alerts"],"summary":"Your alerts","security":[{"apiKey":[]}],"responses":{"200":{"description":"Alerts"}}}},"/v1/alerts/inbox":{"get":{"operationId":"alertsInbox","tags":["Alerts"],"summary":"New alert events since your last check (marks them delivered)","security":[{"apiKey":[]}],"responses":{"200":{"description":"Events"}}}},"/v1/requests/{token}/authorize":{"post":{"operationId":"authorizeBuild","tags":["Pricing"],"summary":"Authorize the $3 build hold after the trial stage: drawn from key credit or a plan build, or a signed x402 payment with no key. Kept only if built, refunded otherwise","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Already built or already authorized"},"201":{"description":"Authorized"},"402":{"description":"Not enough credit or x402 payment required; body lists payment options"}}}},"/v1/approvals":{"post":{"operationId":"requestCreditApproval","tags":["Pricing"],"summary":"Get a one-click link for the user to approve credit (card or PayPal); nothing is charged until they approve","security":[{"apiKey":[]}],"responses":{"200":{"description":"Approval link"}}}},"/v1/credits/topup":{"post":{"operationId":"topupCredit","tags":["Pricing"],"summary":"Add credit to your key by paying with x402 (?usd=1, 5 or 20); credit never expires","security":[{"apiKey":[]}],"parameters":[{"name":"usd","in":"query","schema":{"type":"integer","enum":[1,5,20]}}],"responses":{"200":{"description":"Credit added"},"402":{"description":"Payment required (x402)"}}}},"/v1/requests/{request_id}":{"get":{"operationId":"requestStatus","summary":"Status of a data request (stage, message, built APIs; a new API usually takes 5 to 10 minutes)","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Status"}}}}}}