Skip to content
Eden Engine

Bitcoin Historical Price

mempool/historical-price

The Bitcoin price at (or just before) a Unix timestamp in one fiat currency (USD, EUR, GBP, CAD, CHF, AUD or JPY), from 2010-07-19 on. `prices[0].time` says which moment was priced; a timestamp later than the newest price returns the newest. `exchangeRates` are today's USD rates, not those of the requested date.

activeper callv1

Price

$0.0026 per call

You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $0.50.

Data source

mempool.space

Bitcoin data from the public mempool.space API (https://mempool.space/docs/api/rest). Served by Eden Engine; not an official Mempool product.

Use it

Five steps: search, inspect, learn, run, settle. No per-tool setup; your agent reaches this tool through the meta-tools it already has.

Connect once and your AI can find and run this tool, and any other it needs.

agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

// 2. inspect: price and input schema
omnial_inspect({ tool: "mempool/historical-price" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "mempool/historical-price" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "mempool/historical-price", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "mempool/historical-price", input: { /* ... */ } })

// 5. settle: the call is charged when it finishes, nothing to do

Not connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.

Pricing

Every charge this tool can incur.

ChargePrice
Per call
$0.0026
Updated
Oct 21, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "currency",
    "timestamp"
  ],
  "properties": {
    "currency": {
      "enum": [
        "USD",
        "EUR",
        "GBP",
        "CAD",
        "CHF",
        "AUD",
        "JPY"
      ],
      "type": "string",
      "description": "Fiat currency code."
    },
    "timestamp": {
      "type": "integer",
      "maximum": 4102444800,
      "minimum": 1279497600,
      "description": "Unix time in seconds, 1279497600 (2010-07-19) or later. A time later than the newest available price returns the newest price; read prices[0].time."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "required": [
    "prices",
    "exchangeRates"
  ],
  "properties": {
    "prices": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": true
      }
    },
    "exchangeRates": {
      "type": "object",
      "properties": {
        "USDAUD": {
          "type": "number"
        },
        "USDCAD": {
          "type": "number"
        },
        "USDCHF": {
          "type": "number"
        },
        "USDEUR": {
          "type": "number"
        },
        "USDGBP": {
          "type": "number"
        },
        "USDJPY": {
          "type": "number"
        }
      },
      "additionalProperties": true
    }
  },
  "description": "The Bitcoin price at a point in time, with today's USD exchange rates (not the rates of that date).",
  "additionalProperties": true
}