datakoot-com Market Intel API

The Market Intel API from datakoot-com — 5 operation(s) for market intel.

Operations 5

POST /api/fx_rates FX Rates (Market Intel) #
POST /api/fx_convert FX Convert (Market Intel) #
POST /api/fx_historical FX Historical (Market Intel) #
POST /api/fx_timeseries FX Timeseries (Market Intel) #
POST /api/fx_currencies FX Currencies (Market Intel) #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/datakoot-com:datakoot-com-market-intel-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

datakoot-com-market-intel-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Datakoot x402 data Market Intel API
  version: 2.8.0
  x-guidance: 'Call POST /api/<tool> with a JSON body of the tool''s arguments (GET with a query string also works). Without payment you get HTTP 402 with an x402 v2 challenge (PAYMENT-REQUIRED header and JSON body): pay $0.01 USDC on Base (eip155:8453) to the listed payTo using the exact scheme, then retry with the PAYMENT-SIGNATURE header. Datakoot verifies the payment, runs the tool, and settles only if the tool succeeds; a tool error returns 422 with charged:false. Successful responses are plain JSON matching each operation''s 200 schema, with the on-chain receipt in PAYMENT-RESPONSE. Start with cve_lookup, package_health, financials, country_profile or domain_report. MCP clients can use /mcp; every tool is also free for 100 calls/day at <server>.datakoot.com/mcp.'
  description: 48 live public-data tools (security, packages, SEC filings, economy, FX, weather, domains, Federal Register, Base) plus 4 Koot briefing tools that combine many lookups into one answer, for AI agents. $0.01 USDC per call (every tool and every Koot brief) on Base via x402, charged only on success. The same tools are free for 100 calls/day via MCP at .datakoot.com/mcp.
  contact:
    email: hello@datakoot.com
    url: https://datakoot.com
servers:
- url: https://x402.datakoot.com
tags:
- name: Market Intel
paths:
  /api/fx_rates:
    post:
      operationId: fx_rates
      summary: FX Rates (Market Intel)
      description: 'Get the latest foreign-exchange rates for a base currency (default USD), optionally limited to specific target currencies. Source: European Central Bank reference rates. PAID: $0.01 USDC per call via x402 (charged only on success).'
      tags:
      - Market Intel
      x-payment-info:
        price:
          currency: USD
          mode: fixed
          amount: '0.01'
        protocols:
        - x402:
            scheme: exact
            network: eip155:8453
            asset: '0x833589fcd6edb6e08f4c7c32d4f71b54bda02913'
            payTo: '0x3de7b2de531053340cf132d29b837e5a0e924177'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                base:
                  type: string
                  description: 3-letter base currency, e.g. USD, EUR (default USD)
                symbols:
                  type: string
                  description: Optional comma-separated targets, e.g. EUR,GBP,JPY
              required: []
            example:
              base: USD
              symbols: EUR,GBP,JPY
      responses:
        '200':
          description: Tool result (charged)
          content:
            application/json:
              schema:
                type: object
                properties:
                  base:
                    type: string
                    pattern: ^[A-Z]{3}$
                    description: ISO 4217 base currency actually used
                  date:
                    type: string
                    pattern: ^\d{4}-\d{2}-\d{2}$
                    description: ECB rate date YYYY-MM-DD
                  rates:
                    type: object
                    propertyNames:
                      pattern: ^[A-Z]{3}$
                    additionalProperties:
                      type: number
                    minProperties: 1
                    maxProperties: 256
                    description: Quote currencies mapped to the ECB reference rate
                  source:
                    type: string
                required:
                - base
                - date
                - rates
                - source
                additionalProperties: false
        '402':
          description: 'Payment required: x402 challenge in the PAYMENT-REQUIRED header and body'
        '422':
          description: Tool error (not charged)
  /api/fx_convert:
    post:
      operationId: fx_convert
      summary: FX Convert (Market Intel)
      description: 'Convert an amount from one currency to another at the latest ECB reference rate. Returns the rate, the converted result, and the rate date. PAID: $0.01 USDC per call via x402 (charged only on success).'
      tags:
      - Market Intel
      x-payment-info:
        price:
          currency: USD
          mode: fixed
          amount: '0.01'
        protocols:
        - x402:
            scheme: exact
            network: eip155:8453
            asset: '0x833589fcd6edb6e08f4c7c32d4f71b54bda02913'
            payTo: '0x3de7b2de531053340cf132d29b837e5a0e924177'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                amount:
                  type: number
                  description: Amount in the 'from' currency to convert. Send it as a number, not a string.
                from:
                  type: string
                  description: Source 3-letter currency
                to:
                  type: string
                  description: Target 3-letter currency
              required:
              - amount
              - from
              - to
            example:
              amount: 250
              from: GBP
              to: USD
      responses:
        '200':
          description: Tool result (charged)
          content:
            application/json:
              schema:
                type: object
                properties:
                  amount: {}
                  from: {}
                  to: {}
                  rate: {}
                  result: {}
                  date: {}
                  source: {}
                additionalProperties: true
        '402':
          description: 'Payment required: x402 challenge in the PAYMENT-REQUIRED header and body'
        '422':
          description: Tool error (not charged)
  /api/fx_historical:
    post:
      operationId: fx_historical
      summary: FX Historical (Market Intel)
      description: 'Get foreign-exchange rates for a base currency on a specific past date (YYYY-MM-DD). ECB publishes rates on business days; a weekend/holiday date returns the most recent prior business day. PAID: $0.01 USDC per call via x402 (charged only on success).'
      tags:
      - Market Intel
      x-payment-info:
        price:
          currency: USD
          mode: fixed
          amount: '0.01'
        protocols:
        - x402:
            scheme: exact
            network: eip155:8453
            asset: '0x833589fcd6edb6e08f4c7c32d4f71b54bda02913'
            payTo: '0x3de7b2de531053340cf132d29b837e5a0e924177'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                date:
                  type: string
                  description: The date to look up, YYYY-MM-DD (MM/DD/YYYY is also accepted). Weekends and holidays return the previous business day's ECB rates.
                base:
                  type: string
                  description: 3-letter base (default USD)
                symbols:
                  type: string
                  description: Optional comma-separated targets
              required:
              - date
            example:
              date: '2026-01-15'
              base: EUR
              symbols: USD
      responses:
        '200':
          description: Tool result (charged)
          content:
            application/json:
              schema:
                type: object
                properties:
                  base:
                    type: string
                    pattern: ^[A-Z]{3}$
                    description: ISO 4217 base currency actually used
                  date:
                    type: string
                    pattern: ^\d{4}-\d{2}-\d{2}$
                    description: ECB rate date actually used YYYY-MM-DD
                  requested_date:
                    type: string
                    pattern: ^\d{4}-\d{2}-\d{2}$
                    description: Caller-requested date YYYY-MM-DD
                  rates:
                    type: object
                    propertyNames:
                      pattern: ^[A-Z]{3}$
                    additionalProperties:
                      type: number
                    minProperties: 1
                    maxProperties: 256
                    description: Quote currencies mapped to the ECB reference rate
                  source:
                    type: string
                required:
                - base
                - date
                - requested_date
                - rates
                - source
                additionalProperties: false
        '402':
          description: 'Payment required: x402 challenge in the PAYMENT-REQUIRED header and body'
        '422':
          description: Tool error (not charged)
  /api/fx_timeseries:
    post:
      operationId: fx_timeseries
      summary: FX Timeseries (Market Intel)
      description: 'Get a time series of exchange rates for a base currency over a date range (max ~1 year), useful for trend analysis. Provide start and end as YYYY-MM-DD and one or more target currencies. PAID: $0.01 USDC per call via x402 (charged only on success).'
      tags:
      - Market Intel
      x-payment-info:
        price:
          currency: USD
          mode: fixed
          amount: '0.01'
        protocols:
        - x402:
            scheme: exact
            network: eip155:8453
            asset: '0x833589fcd6edb6e08f4c7c32d4f71b54bda02913'
            payTo: '0x3de7b2de531053340cf132d29b837e5a0e924177'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                start:
                  type: string
                  description: Start date, YYYY-MM-DD (MM/DD/YYYY is also accepted). Range up to about one year.
                end:
                  type: string
                  description: End date, YYYY-MM-DD (MM/DD/YYYY is also accepted).
                base:
                  type: string
                  description: 3-letter base (default USD)
                symbols:
                  type: string
                  description: Comma-separated targets, e.g. EUR,GBP
              required:
              - start
              - end
              - symbols
            example:
              start: '2026-09-01'
              end: '2026-09-10'
              base: USD
              symbols: EUR
      responses:
        '200':
          description: Tool result (charged)
          content:
            application/json:
              schema:
                type: object
                properties:
                  base: {}
                  start_date: {}
                  end_date: {}
                  rates: {}
                  source: {}
                additionalProperties: true
        '402':
          description: 'Payment required: x402 challenge in the PAYMENT-REQUIRED header and body'
        '422':
          description: Tool error (not charged)
  /api/fx_currencies:
    post:
      operationId: fx_currencies
      summary: FX Currencies (Market Intel)
      description: 'List the currencies supported for exchange-rate lookups, with their full names. PAID: $0.01 USDC per call via x402 (charged only on success).'
      tags:
      - Market Intel
      x-payment-info:
        price:
          currency: USD
          mode: fixed
          amount: '0.01'
        protocols:
        - x402:
            scheme: exact
            network: eip155:8453
            asset: '0x833589fcd6edb6e08f4c7c32d4f71b54bda02913'
            payTo: '0x3de7b2de531053340cf132d29b837e5a0e924177'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties: {}
              required: []
            example: {}
      responses:
        '200':
          description: Tool result (charged)
          content:
            application/json:
              schema:
                type: object
                properties:
                  count:
                    type: integer
                    description: Number of supported currencies
                  currencies:
                    type: object
                    propertyNames:
                      pattern: ^[A-Z]{3}$
                    additionalProperties:
                      type: string
                      minLength: 1
                      maxLength: 128
                    minProperties: 1
                    maxProperties: 256
                    description: ISO 4217 codes mapped to currency names
                  source:
                    type: string
                required:
                - count
                - currencies
                - source
                additionalProperties: false
        '402':
          description: 'Payment required: x402 challenge in the PAYMENT-REQUIRED header and body'
        '422':
          description: Tool error (not charged)