Company & Macro Data (x402)

v1.5.0
io.github.vstockma/x402-apis Checked 4 days ago Published 12 days ago

Company registers (20 countries + LEI), KYB sanctions check (EU/OFAC/UK/UN), FX, rates, inflation.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

company Company Data (LEI + national registers)

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. Price: 0.002 USDC per successful call (x402).

ParameterTypeDescription
countrystring2-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.
idstringNational 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 196800306…
leistring20-character Legal Entity Identifier.
namestringCompany legal name (2-200 chars), e.g. Erste Group Bank.
vatstringVAT 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…

fx_rates Official Macro & FX Data

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. Price: 0.002 USDC per successful call (x402).

ParameterTypeDescription
basestringBase currency, 3 letters, default EUR. Any ECB reference currency.
datestringDay as YYYY-MM-DD (1999-01-04 or later). Default: latest. Weekends/holidays return the previous ECB fix.
symbolsstringComma-separated target currencies, e.g. USD,CHF,GBP. Default: all.

interest_rates Official Macro & FX Data

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. Price: 0.002 USDC per successful call (x402).

ParameterTypeDescription
regionstringEA (euro area / ECB), US (Federal Reserve) or all. Default: all.

treasury_yields Official Macro & FX Data

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. Price: 0.002 USDC per successful call (x402).

ParameterTypeDescription
datestringDay as YYYY-MM-DD (1990-01-02 or later). Default: latest published curve.

inflation Official Macro & FX Data

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. Price: 0.002 USDC per successful call (x402).

ParameterTypeDescription
country *string2-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…
monthsstringNumber of months of history, 1-36. Default 12.

kyb Company Check (KYB: sanctions + insolvency)

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. Price: 0.02 USDC per successful call (x402).

ParameterTypeDescription
countrystring2-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.
idstringNational register number, needs country= (same as /v1/company).
leistring20-character Legal Entity Identifier.
namestringCompany legal name (2-200 chars). Screened even if no register knows it.
vatstringVAT number (FR, NO, FI, LV, HR, CH, CZ, GR, DK), same as /v1/company.