{
  "x402Version": 2,
  "id": 33329,
  "slug": "33329",
  "resource": "https://api.prereason.com/api/btc/context",
  "description": "Bitcoin context with on-chain and liquidity data. Active addresses, hash ribbon, difficulty and momentum, each with its trend, for AI agents. A paid call serves today or any ?date= on record.",
  "type": "http",
  "serviceName": "PreReason",
  "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1789955882/bazaar-icons/1f655b6663e3d434.png",
  "resourceType": "AI Inference",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xa499f6F6ab97ba87DB2e1fD7a1e3534125b60018",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "20000",
      "amountUsd": 0.02,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "H9PEqUrPuagH87tgBpuNizmxPKFtWhWozU21bq74nL5H",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "20000",
      "amountUsd": 0.02,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "format": "json"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "briefing_metadata": {
              "correlations_count": 1,
              "description": "Bitcoin price, mining health, and liquidity overview with 7-day and 30-day trends",
              "metrics_count": 5,
              "name": "BTC Context"
            },
            "briefing_used": "btc.context",
            "metrics": {
              "bitcoin-difficulty": {
                "name": "bitcoin-difficulty"
              },
              "bitcoin-hash-rate": {
                "name": "bitcoin-hash-rate"
              },
              "bitcoin-price": {
                "name": "bitcoin-price"
              },
              "hash-ribbon": {
                "name": "hash-ribbon"
              },
              "net-liquidity": {
                "name": "net-liquidity"
              }
            }
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "date": {
                    "description": "Historical date in YYYY-MM-DD format. A paid call serves today or any ?date= on record.",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                    "type": "string"
                  },
                  "format": {
                    "description": "Response format. markdown is token-optimized for LLMs, json is structured. Default is markdown.",
                    "enum": [
                      "json",
                      "markdown"
                    ],
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bitcoin",
    "btc",
    "crypto",
    "onchain",
    "liquidity",
    "bazaar"
  ],
  "sourceHost": "api.prereason.com",
  "lastUpdated": "2026-10-13T11:29:04.158Z",
  "quality": {
    "calls30d": 6,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-10-13T11:29:03.895Z"
  },
  "metadata": {
    "serviceName": "PreReason",
    "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1789955882/bazaar-icons/1f655b6663e3d434.png",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "method": "GET",
            "queryParams": {
              "format": "json"
            },
            "type": "http"
          },
          "output": {
            "example": {
              "briefing_metadata": {
                "correlations_count": 1,
                "description": "Bitcoin price, mining health, and liquidity overview with 7-day and 30-day trends",
                "metrics_count": 5,
                "name": "BTC Context"
              },
              "briefing_used": "btc.context",
              "metrics": {
                "bitcoin-difficulty": {
                  "name": "bitcoin-difficulty"
                },
                "bitcoin-hash-rate": {
                  "name": "bitcoin-hash-rate"
                },
                "bitcoin-price": {
                  "name": "bitcoin-price"
                },
                "hash-ribbon": {
                  "name": "hash-ribbon"
                },
                "net-liquidity": {
                  "name": "net-liquidity"
                }
              }
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "method": {
                  "enum": [
                    "GET"
                  ],
                  "type": "string"
                },
                "queryParams": {
                  "properties": {
                    "date": {
                      "description": "Historical date in YYYY-MM-DD format. A paid call serves today or any ?date= on record.",
                      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                      "type": "string"
                    },
                    "format": {
                      "description": "Response format. markdown is token-optimized for LLMs, json is structured. Default is markdown.",
                      "enum": [
                        "json",
                        "markdown"
                      ],
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.prereason.com",
    "manifest_name": "api.prereason.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {},
    "type": "string"
  }
}