{"openapi":"3.1.0","info":{"title":"Company data (GLEIF + national registers FR, NO, FI, LV, IE, GB, US, EE, TW, HK, SG, AU, HR, CH, LT, CZ, AT, GR, DK, CA) + Official FX rates, policy rates, US Treasury yields and inflation (ECB, NY Fed, US Treasury, Eurostat, BLS) + Company check (KYB): register data + EU/UN/OFAC/UK sanctions screening + insolvency notices (FR, UK, CH)","version":"1.0.0","contact":{"name":"Stockwerk Studio","email":"stockwerkstudio@gmail.com"},"description":"Pay-per-call data APIs for AI agents, paid with x402 (USDC, network eip155:8453). No account, no API key.","x-guidance":"Call a paid endpoint with GET and query parameters. Without payment you get HTTP 402 with the x402 payment requirements; pay with an x402 client and repeat the request. Invalid input returns HTTP 400 before payment, and errors such as \"not found\" or a source outage are not charged. Endpoints: GET /v1/company ($0.002); GET /v1/fx-rates ($0.002); GET /v1/interest-rates ($0.002); GET /v1/treasury-yields ($0.002); GET /v1/inflation ($0.002); GET /v1/kyb ($0.02)."},"servers":[{"url":"https://x402-apis.pages.dev"}],"paths":{"/v1/company":{"get":{"operationId":"company","summary":"Company Data (LEI + national registers)","description":"Use when an agent must verify a company (KYC/KYB, supplier or invoice check): official legal name, address, legal form, active/dissolved, LEI, register number, VAT validity. Search by name= (+country=), id=, lei= or vat=. GLEIF worldwide plus official national registers: FR, NO, FI, LV, IE, GB, US, EE, TW, HK, SG, AU, HR, CH, LT, CZ, AT, GR, DK, CA – also firms without LEI. Source named in every answer. Bad input: HTTP 400 before payment; no match or outage is not charged.","tags":["company","lei","kyc","kyb","business-registry","vat","europe","usa","uk","asia","australia"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.002"},"protocols":[{"x402":{}}]},"parameters":[{"name":"name","in":"query","required":false,"description":"Company legal name (2-200 chars), e.g. Erste Group Bank.","schema":{"type":"string"},"example":"Erste Group Bank"},{"name":"country","in":"query","required":false,"description":"2-letter ISO country code. FR, NO, FI, LV, IE, GB, US, EE, TW, HK, SG, AU, HR, CH, LT, CZ, AT, GR, DK, CA: official national register; other countries: GLEIF.","schema":{"type":"string"},"example":"AT"},{"name":"id","in":"query","required":false,"description":"National register number, needs country=: FR SIREN 303265045, NO 923609016, FI 0112038-9, LV 40003245752, IE 104547, GB 00445790, US SEC CIK 320193, EE 12417834, TW 20828393, HK 00015833, SG 196800306E, AU ACN 102443916, HR MBS 080722712 or OIB, CH UID CHE-105.909.036, LT 121215434, CZ IČO 00177041, AT Firmenbuchnummer FN 33209m, GR GEMI number 1037501000 or AFM 094019245, DK CVR 24256790, CA federal corporation number 4261607 or business number 847871746 (federal corporations only).","schema":{"type":"string"}},{"name":"vat","in":"query","required":false,"description":"VAT number of a French, Norwegian, Finnish, Latvian, Croatian, Swiss, Czech, Greek or Danish company, e.g. FR40303265045, NO923609016MVA, FI01120389, LV40003245752, HR + 11-digit OIB, CHE-105.909.036 MWST, CZ00177041, EL094019245, DK24256790.","schema":{"type":"string"}},{"name":"lei","in":"query","required":false,"description":"20-character Legal Entity Identifier.","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"query":{"type":"object"},"company":{"type":["object","null"],"properties":{"name":{"type":["string","null"]},"address":{"type":"object"},"legalForm":{"type":["object","null"]},"status":{"type":["string","null"]},"lei":{"type":["string","null"]},"leiStatus":{"type":["string","null"]},"registeredAs":{"type":["string","null"]},"jurisdiction":{"type":["string","null"]}}},"vat":{"type":["object","null"]},"alternatives":{"type":"array"},"sources":{"type":"array","items":{"type":"string"}},"retrievedAt":{"type":"string"}},"required":["query","company","vat","sources","retrievedAt"]},"example":{"query":{"type":"name","value":"Erste Group Bank","country":"AT"},"company":{"name":"ERSTE GROUP BANK AG","address":{"lines":["AM BELVEDERE 1"],"postalCode":"1100","city":"WIEN","country":"AT"},"legalForm":{"code":"EQOV","name":"Aktiengesellschaft"},"status":"ACTIVE","lei":"PQOH26KWDF7CG10L6792","leiStatus":"ISSUED","registeredAs":"33209m","jurisdiction":"AT"},"vat":null,"alternatives":[],"sources":["GLEIF"],"attribution":[],"retrievedAt":"2026-10-08T08:40:20.000Z"}}}},"400":{"description":"Invalid input – returned before payment, nothing is charged"},"402":{"description":"Payment Required (x402 v2, USDC on Base)"}}}},"/v1/fx-rates":{"get":{"operationId":"fxRates","summary":"Official Macro & FX Data","description":"Use when an agent needs an official exchange rate to convert prices, invoices or portfolios: ECB euro reference rates for ~30 currencies (USD, GBP, CHF, JPY, CNY …), latest or for any day since 1999, with any base currency (cross rates computed from the ECB fix). Returns the exact rate date. Source named in every answer. Bad input: HTTP 400 before payment; unknown currency or outage is not charged.","tags":["fx","exchange-rates","currency","ecb","eur","usd","historical"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.002"},"protocols":[{"x402":{}}]},"parameters":[{"name":"base","in":"query","required":false,"description":"Base currency, 3 letters, default EUR. Any ECB reference currency.","schema":{"type":"string"},"example":"USD"},{"name":"symbols","in":"query","required":false,"description":"Comma-separated target currencies, e.g. USD,CHF,GBP. Default: all.","schema":{"type":"string"},"example":"EUR,CHF,GBP"},{"name":"date","in":"query","required":false,"description":"Day as YYYY-MM-DD (1999-01-04 or later). Default: latest. Weekends/holidays return the previous ECB fix.","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"base":{"type":"string"},"date":{"type":"string"},"rates":{"type":"object"},"source":{"type":"string"}},"required":["base","date","rates","source"]},"example":{"base":"USD","date":"2026-10-13","rates":{"CHF":0.82418,"EUR":0.885113,"GBP":0.761234},"source":"European Central Bank – euro foreign exchange reference rates","attribution":"Source: European Central Bank (ECB Data Portal, data-api.ecb.europa.eu). Reuse permitted with source acknowledged.","retrievedAt":"2026-10-13T15:10:00.000Z"}}}},"400":{"description":"Invalid input – returned before payment, nothing is charged"},"402":{"description":"Payment Required (x402 v2, USDC on Base)"}}}},"/v1/interest-rates":{"get":{"operationId":"interestRates","summary":"Official Macro & FX Data","description":"Use when an agent needs today's central bank rates for loans, savings, valuation or macro answers: ECB key rates (deposit facility, main refinancing, marginal lending, with the date they took effect) and US Fed funds target range, effective fed funds rate (EFFR) and SOFR from the New York Fed. Official sources only, named in every answer. region=EA, US or all (default). Bad input: HTTP 400 before payment; outage is not charged.","tags":["interest-rates","central-bank","ecb","fed","sofr","effr","policy-rate"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.002"},"protocols":[{"x402":{}}]},"parameters":[{"name":"region","in":"query","required":false,"description":"EA (euro area / ECB), US (Federal Reserve) or all. Default: all.","schema":{"type":"string"},"example":"all"}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"euroArea":{"type":"object"},"unitedStates":{"type":"object"}}},"example":{"euroArea":{"centralBank":"European Central Bank","rates":[{"code":"DFR","name":"Deposit facility rate","ratePct":2.5,"effectiveSince":"2026-09-16"}]},"unitedStates":{"centralBank":"Federal Reserve","federalFundsTargetRange":{"fromPct":3.75,"toPct":4,"asOf":"2026-10-08"},"rates":[{"code":"EFFR","name":"Effective Federal Funds Rate","ratePct":3.88,"date":"2026-10-08"}]},"retrievedAt":"2026-10-13T15:10:00.000Z"}}}},"400":{"description":"Invalid input – returned before payment, nothing is charged"},"402":{"description":"Payment Required (x402 v2, USDC on Base)"}}}},"/v1/treasury-yields":{"get":{"operationId":"treasuryYields","summary":"Official Macro & FX Data","description":"Use when an agent needs US government bond yields, a risk-free rate or the yield curve (e.g. 2Y/10Y spread, recession signal, discounting): official US Treasury daily par yield curve, 1 month to 30 years, latest or any day since 1990 (weekends/holidays return the previous business day). Includes 10Y-2Y and 10Y-3M spreads. Source named in every answer. Bad input: HTTP 400 before payment; outage is not charged.","tags":["treasury","yield-curve","bonds","us-rates","risk-free-rate","historical"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.002"},"protocols":[{"x402":{}}]},"parameters":[{"name":"date","in":"query","required":false,"description":"Day as YYYY-MM-DD (1990-01-02 or later). Default: latest published curve.","schema":{"type":"string"},"example":"2026-10-01"}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"date":{"type":"string"},"yieldsPct":{"type":"object"},"spreadsPct":{"type":"object"}},"required":["date","yieldsPct"]},"example":{"date":"2026-10-01","yieldsPct":{"1M":4.06,"3M":4.17,"6M":4.27,"1Y":4.44,"2Y":4.78,"5Y":5.01,"10Y":5.24,"30Y":5.61},"spreadsPct":{"10Y-2Y":0.46,"10Y-3M":1.07},"source":"U.S. Department of the Treasury – Daily Treasury Par Yield Curve Rates","retrievedAt":"2026-10-13T15:10:00.000Z"}}}},"400":{"description":"Invalid input – returned before payment, nothing is charged"},"402":{"description":"Payment Required (x402 v2, USDC on Base)"}}}},"/v1/inflation":{"get":{"operationId":"inflation","summary":"Official Macro & FX Data","description":"Use when an agent needs the official inflation rate (year-on-year consumer prices) for a country: Eurostat HICP for the euro area, EU and 36 European countries (incl. CH, NO, TR) and US CPI-U from the Bureau of Labor Statistics. Latest month plus up to 36 months of history, flash estimates flagged. Source named in every answer. Bad input: HTTP 400 before payment; outage is not charged.","tags":["inflation","cpi","hicp","eurostat","bls","economy","europe","usa"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.002"},"protocols":[{"x402":{}}]},"parameters":[{"name":"country","in":"query","required":true,"description":"2-letter code: EA, EU, AT, BE, BG, CY, CZ, DE, DK, EE, EL, ES, FI, FR, HR, HU, IE, IT, LT, LU, LV, MT, NL, PL, PT, RO, SE, SI, SK, IS, NO, CH, TR, AL, ME, MK, RS, XK, US. EA = euro area, EU = European Union.","schema":{"type":"string"},"example":"AT"},{"name":"months","in":"query","required":false,"description":"Number of months of history, 1-36. Default 12.","schema":{"type":"string"},"example":"12"}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"country":{"type":"string"},"latest":{"type":"object"},"series":{"type":"array"},"measure":{"type":"string"}},"required":["country","latest","series"]},"example":{"country":"AT","name":"Austria","measure":"HICP, annual rate of change (%)","latest":{"month":"2026-09","annualRatePct":3.3,"flag":"e"},"series":[{"month":"2026-08","annualRatePct":3.5,"flag":null},{"month":"2026-09","annualRatePct":3.3,"flag":"e"}],"source":"Eurostat – HICP (prc_hicp_minr)","retrievedAt":"2026-10-13T15:10:00.000Z"}}}},"400":{"description":"Invalid input – returned before payment, nothing is charged"},"402":{"description":"Payment Required (x402 v2, USDC on Base)"}}}},"/v1/kyb":{"get":{"operationId":"kyb","summary":"Company Check (KYB: sanctions + insolvency)","description":"Use before onboarding, paying or contracting a company: official register data (as /v1/company), screening of the name against the EU, UN, US OFAC SDN and UK sanctions lists (refreshed daily) and official insolvency notices (FR BODACC, UK, CH). Sanctions hits are 'possible matches' with a 0-100 score, never a verdict. Input: name= (+country=), id=, lei= or vat=. Bad input: 400 before payment; outages not charged.","tags":["kyb","kyc","aml","sanctions","ofac","un","insolvency","compliance","company","due-diligence","europe","uk","usa"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.02"},"protocols":[{"x402":{}}]},"parameters":[{"name":"name","in":"query","required":false,"description":"Company legal name (2-200 chars). Screened even if no register knows it.","schema":{"type":"string"},"example":"Rosneft"},{"name":"country","in":"query","required":false,"description":"2-letter ISO country code. FR, NO, FI, LV, IE, GB, US, EE, TW, HK, SG, AU, HR, CH, LT, CZ, AT, GR, DK, CA: official national register; other countries: GLEIF.","schema":{"type":"string"},"example":"RU"},{"name":"id","in":"query","required":false,"description":"National register number, needs country= (same as /v1/company).","schema":{"type":"string"}},{"name":"vat","in":"query","required":false,"description":"VAT number (FR, NO, FI, LV, HR, CH, CZ, GR, DK), same as /v1/company.","schema":{"type":"string"}},{"name":"lei","in":"query","required":false,"description":"20-character Legal Entity Identifier.","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"query":{"type":"object"},"company":{"type":["object","null"]},"sanctions":{"type":"object","properties":{"result":{"type":"string","enum":["possible_match","no_match"]},"matches":{"type":"array"},"lists":{"type":"array"},"indexBuiltAt":{"type":"string"},"stale":{"type":"boolean"}},"required":["result","matches","lists"]},"insolvency":{"type":"object","properties":{"result":{"type":"string","enum":["notices_found","none_found","not_covered","unavailable"]},"notices":{"type":"array"}},"required":["result","notices"]},"sources":{"type":"array","items":{"type":"string"}},"retrievedAt":{"type":"string"}},"required":["query","company","sanctions","insolvency","sources","retrievedAt"]},"example":{"query":{"type":"name","value":"Rosneft","country":"RU"},"company":null,"vat":null,"alternatives":[],"sanctions":{"result":"possible_match","screenedNames":["Rosneft"],"matches":[{"score":100,"strength":"strong","list":"OFAC","listId":"OFAC-17022","name":"OPEN JOINT-STOCK COMPANY ROSNEFT OIL COMPANY","matchedName":"ROSNEFT","screenedName":"Rosneft","programs":["UKRAINE-EO13662","RUSSIA-EO14024"],"countries":[],"listedOn":null,"unReference":null}],"lists":[{"list":"EU","name":"EU Consolidated Financial Sanctions List (European Commission)","publishedAt":"2026-10-23","entities":1779,"url":"https://data.europa.eu/data/datasets/consolidated-list-of-persons-groups-and-entities-subject-to-eu-financial-sanctions"}],"indexBuiltAt":"2026-11-10T04:20:00.000Z","stale":false,"note":"Name similarity only (companies/entities, not persons). A possible match is not a finding that the company is sanctioned; …"},"insolvency":{"result":"not_covered","country":null,"notices":[],"note":"Official insolvency notices for legal entities only (FR BODACC, UK Companies House, CH SOGC via Zefix). …"},"sources":["EU FSF","OFAC SDN","UK Sanctions List","UN Consolidated List"],"attribution":[],"retrievedAt":"2026-11-10T08:40:20.000Z"}}}},"400":{"description":"Invalid input – returned before payment, nothing is charged"},"402":{"description":"Payment Required (x402 v2, USDC on Base)"}}}}}}