{
  "x402Version": 2,
  "id": 33964,
  "slug": "33964",
  "resource": "https://http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run/crypto/spot-price",
  "description": "Return one current Coinbase spot-product snapshot for an exact BASE-QUOTE product id, including venue price, 24-hour price change and provider-reported 24-hour product volume. Forest reads only Coinbase Advanced Trade public market data; it does not infer tickers, infer the provider volume denomination, aggregate venues, read an account or wallet, place orders, provide an executable quote, forecast returns or recommend a trade. Base mainnet USDC",
  "type": "http",
  "serviceName": "Forest Markets",
  "resourceType": "Market Data",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xf9c2a7255E7C51D7BF38331DcFC23Ba881cF61Ba",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "1000",
      "amountUsd": 0.001,
      "maxTimeoutSeconds": 120
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "additionalProperties": false,
        "properties": {
          "capability": {
            "const": "crypto.spot-price",
            "description": "Public capability value used to scope this lookup."
          },
          "data": {
            "additionalProperties": false,
            "description": "Public data value used to scope this lookup.",
            "properties": {
              "base": {
                "description": "Public base value used to scope this lookup.",
                "type": "string"
              },
              "cache_age_ms": {
                "description": "Public cache age ms value used to scope this lookup.",
                "maximum": 60000,
                "minimum": 0,
                "type": "integer"
              },
              "executable_quote": {
                "const": false,
                "description": "Public executable quote value used to scope this lookup."
              },
              "freshness": {
                "const": "current_upstream_snapshot",
                "description": "Public freshness value used to scope this lookup."
              },
              "market_status": {
                "const": "online",
                "description": "Public market status value used to scope this lookup."
              },
              "price": {
                "description": "Public price value used to scope this lookup.",
                "pattern": "^(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
                "type": "string"
              },
              "price_change_24h_percent": {
                "description": "Public price change 24h percent value used to scope this lookup.",
                "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
                "type": "string"
              },
              "product": {
                "description": "Public product value used to scope this lookup.",
                "type": "string"
              },
              "quote": {
                "description": "Public quote value used to scope this lookup.",
                "type": "string"
              },
              "source": {
                "const": "Coinbase Advanced Trade public market data",
                "description": "Public source value used to scope this lookup."
              },
              "source_kind": {
                "const": "spot_product_snapshot",
                "description": "Public source kind value used to scope this lookup."
              },
              "venue": {
                "const": "coinbase",
                "description": "Public venue value used to scope this lookup."
              },
              "volume_24h": {
                "description": "Public volume 24h value used to scope this lookup.",
                "pattern": "^(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
                "type": "string"
              }
            },
            "required": [
              "product",
              "base",
              "quote",
              "price",
              "price_change_24h_percent",
              "volume_24h",
              "market_status",
              "venue",
              "source",
              "source_kind",
              "freshness",
              "executable_quote",
              "cache_age_ms"
            ],
            "type": "object"
          },
          "meta": {
            "additionalProperties": false,
            "description": "Public meta value used to scope this lookup.",
            "properties": {
              "cache": {
                "description": "Public cache value used to scope this lookup.",
                "enum": [
                  "hit",
                  "miss",
                  "bypass"
                ]
              },
              "checked_at": {
                "description": "Public checked at value used to scope this lookup.",
                "type": "string"
              },
              "duration_ms": {
                "description": "Public duration ms value used to scope this lookup.",
                "minimum": 0,
                "type": "integer"
              },
              "provider": {
                "description": "Public provider value used to scope this lookup.",
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "required": [
              "provider",
              "checked_at",
              "cache",
              "duration_ms"
            ],
            "type": "object"
          },
          "ok": {
            "const": true,
            "description": "Public ok value used to scope this lookup."
          },
          "version": {
            "const": "1",
            "description": "Package version whose public metadata should be checked."
          }
        },
        "required": [
          "ok",
          "capability",
          "version",
          "data",
          "meta"
        ],
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "product": "BTC-USD"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "capability": "crypto.spot-price",
            "data": {
              "base": "example",
              "cache_age_ms": 0,
              "executable_quote": false,
              "freshness": "current_upstream_snapshot",
              "market_status": "online",
              "price": "1",
              "price_change_24h_percent": "0",
              "product": "example",
              "quote": "example",
              "source": "Coinbase Advanced Trade public market data",
              "source_kind": "spot_product_snapshot",
              "venue": "coinbase",
              "volume_24h": "1"
            },
            "meta": {
              "cache": "miss",
              "checked_at": "2026-01-01T00:00:00.000Z",
              "duration_ms": 0,
              "provider": "coinbase-advanced-trade-public"
            },
            "ok": true,
            "version": "1"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "product": {
                    "description": "Public product value used to scope this lookup.",
                    "maxLength": 65,
                    "minLength": 3,
                    "pattern": "^[A-Za-z0-9][A-Za-z0-9.]{0,31}-[A-Za-z0-9][A-Za-z0-9.]{0,31}$",
                    "type": "string"
                  }
                },
                "required": [
                  "product"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "additionalProperties": false,
                "properties": {
                  "capability": {
                    "const": "crypto.spot-price",
                    "description": "Public capability value used to scope this lookup."
                  },
                  "data": {
                    "additionalProperties": false,
                    "description": "Public data value used to scope this lookup.",
                    "properties": {
                      "base": {
                        "description": "Public base value used to scope this lookup.",
                        "type": "string"
                      },
                      "cache_age_ms": {
                        "description": "Public cache age ms value used to scope this lookup.",
                        "maximum": 60000,
                        "minimum": 0,
                        "type": "integer"
                      },
                      "executable_quote": {
                        "const": false,
                        "description": "Public executable quote value used to scope this lookup."
                      },
                      "freshness": {
                        "const": "current_upstream_snapshot",
                        "description": "Public freshness value used to scope this lookup."
                      },
                      "market_status": {
                        "const": "online",
                        "description": "Public market status value used to scope this lookup."
                      },
                      "price": {
                        "description": "Public price value used to scope this lookup.",
                        "pattern": "^(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
                        "type": "string"
                      },
                      "price_change_24h_percent": {
                        "description": "Public price change 24h percent value used to scope this lookup.",
                        "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
                        "type": "string"
                      },
                      "product": {
                        "description": "Public product value used to scope this lookup.",
                        "type": "string"
                      },
                      "quote": {
                        "description": "Public quote value used to scope this lookup.",
                        "type": "string"
                      },
                      "source": {
                        "const": "Coinbase Advanced Trade public market data",
                        "description": "Public source value used to scope this lookup."
                      },
                      "source_kind": {
                        "const": "spot_product_snapshot",
                        "description": "Public source kind value used to scope this lookup."
                      },
                      "venue": {
                        "const": "coinbase",
                        "description": "Public venue value used to scope this lookup."
                      },
                      "volume_24h": {
                        "description": "Public volume 24h value used to scope this lookup.",
                        "pattern": "^(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
                        "type": "string"
                      }
                    },
                    "required": [
                      "product",
                      "base",
                      "quote",
                      "price",
                      "price_change_24h_percent",
                      "volume_24h",
                      "market_status",
                      "venue",
                      "source",
                      "source_kind",
                      "freshness",
                      "executable_quote",
                      "cache_age_ms"
                    ],
                    "type": "object"
                  },
                  "meta": {
                    "additionalProperties": false,
                    "description": "Public meta value used to scope this lookup.",
                    "properties": {
                      "cache": {
                        "description": "Public cache value used to scope this lookup.",
                        "enum": [
                          "hit",
                          "miss",
                          "bypass"
                        ]
                      },
                      "checked_at": {
                        "description": "Public checked at value used to scope this lookup.",
                        "type": "string"
                      },
                      "duration_ms": {
                        "description": "Public duration ms value used to scope this lookup.",
                        "minimum": 0,
                        "type": "integer"
                      },
                      "provider": {
                        "description": "Public provider value used to scope this lookup.",
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    },
                    "required": [
                      "provider",
                      "checked_at",
                      "cache",
                      "duration_ms"
                    ],
                    "type": "object"
                  },
                  "ok": {
                    "const": true,
                    "description": "Public ok value used to scope this lookup."
                  },
                  "version": {
                    "const": "1",
                    "description": "Package version whose public metadata should be checked."
                  }
                },
                "required": [
                  "ok",
                  "capability",
                  "version",
                  "data",
                  "meta"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "crypto",
    "spot-price",
    "coinbase",
    "market-data",
    "price",
    "bazaar"
  ],
  "sourceHost": "http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run",
  "lastUpdated": "2026-10-09T19:52:42.379Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-09T19:52:42.103Z"
  },
  "metadata": {
    "serviceName": "Forest Markets",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "product": "BTC-USD"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "capability": "crypto.spot-price",
              "data": {
                "base": "example",
                "cache_age_ms": 0,
                "executable_quote": false,
                "freshness": "current_upstream_snapshot",
                "market_status": "online",
                "price": "1",
                "price_change_24h_percent": "0",
                "product": "example",
                "quote": "example",
                "source": "Coinbase Advanced Trade public market data",
                "source_kind": "spot_product_snapshot",
                "venue": "coinbase",
                "volume_24h": "1"
              },
              "meta": {
                "cache": "miss",
                "checked_at": "2026-01-01T00:00:00.000Z",
                "duration_ms": 0,
                "provider": "coinbase-advanced-trade-public"
              },
              "ok": true,
              "version": "1"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "product": {
                      "description": "Public product value used to scope this lookup.",
                      "maxLength": 65,
                      "minLength": 3,
                      "pattern": "^[A-Za-z0-9][A-Za-z0-9.]{0,31}-[A-Za-z0-9][A-Za-z0-9.]{0,31}$",
                      "type": "string"
                    }
                  },
                  "required": [
                    "product"
                  ],
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "additionalProperties": false,
                  "properties": {
                    "capability": {
                      "const": "crypto.spot-price",
                      "description": "Public capability value used to scope this lookup."
                    },
                    "data": {
                      "additionalProperties": false,
                      "description": "Public data value used to scope this lookup.",
                      "properties": {
                        "base": {
                          "description": "Public base value used to scope this lookup.",
                          "type": "string"
                        },
                        "cache_age_ms": {
                          "description": "Public cache age ms value used to scope this lookup.",
                          "maximum": 60000,
                          "minimum": 0,
                          "type": "integer"
                        },
                        "executable_quote": {
                          "const": false,
                          "description": "Public executable quote value used to scope this lookup."
                        },
                        "freshness": {
                          "const": "current_upstream_snapshot",
                          "description": "Public freshness value used to scope this lookup."
                        },
                        "market_status": {
                          "const": "online",
                          "description": "Public market status value used to scope this lookup."
                        },
                        "price": {
                          "description": "Public price value used to scope this lookup.",
                          "pattern": "^(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
                          "type": "string"
                        },
                        "price_change_24h_percent": {
                          "description": "Public price change 24h percent value used to scope this lookup.",
                          "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
                          "type": "string"
                        },
                        "product": {
                          "description": "Public product value used to scope this lookup.",
                          "type": "string"
                        },
                        "quote": {
                          "description": "Public quote value used to scope this lookup.",
                          "type": "string"
                        },
                        "source": {
                          "const": "Coinbase Advanced Trade public market data",
                          "description": "Public source value used to scope this lookup."
                        },
                        "source_kind": {
                          "const": "spot_product_snapshot",
                          "description": "Public source kind value used to scope this lookup."
                        },
                        "venue": {
                          "const": "coinbase",
                          "description": "Public venue value used to scope this lookup."
                        },
                        "volume_24h": {
                          "description": "Public volume 24h value used to scope this lookup.",
                          "pattern": "^(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
                          "type": "string"
                        }
                      },
                      "required": [
                        "product",
                        "base",
                        "quote",
                        "price",
                        "price_change_24h_percent",
                        "volume_24h",
                        "market_status",
                        "venue",
                        "source",
                        "source_kind",
                        "freshness",
                        "executable_quote",
                        "cache_age_ms"
                      ],
                      "type": "object"
                    },
                    "meta": {
                      "additionalProperties": false,
                      "description": "Public meta value used to scope this lookup.",
                      "properties": {
                        "cache": {
                          "description": "Public cache value used to scope this lookup.",
                          "enum": [
                            "hit",
                            "miss",
                            "bypass"
                          ]
                        },
                        "checked_at": {
                          "description": "Public checked at value used to scope this lookup.",
                          "type": "string"
                        },
                        "duration_ms": {
                          "description": "Public duration ms value used to scope this lookup.",
                          "minimum": 0,
                          "type": "integer"
                        },
                        "provider": {
                          "description": "Public provider value used to scope this lookup.",
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "provider",
                        "checked_at",
                        "cache",
                        "duration_ms"
                      ],
                      "type": "object"
                    },
                    "ok": {
                      "const": true,
                      "description": "Public ok value used to scope this lookup."
                    },
                    "version": {
                      "const": "1",
                      "description": "Package version whose public metadata should be checked."
                    }
                  },
                  "required": [
                    "ok",
                    "capability",
                    "version",
                    "data",
                    "meta"
                  ],
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run",
    "manifest_name": "http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run",
    "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": {
      "capability": null,
      "data": {
        "base": "string",
        "cache_age_ms": 0,
        "executable_quote": null,
        "freshness": null,
        "market_status": null,
        "price": "string",
        "price_change_24h_percent": "string",
        "product": "string",
        "quote": "string",
        "source": null,
        "source_kind": null,
        "venue": null,
        "volume_24h": "string"
      },
      "meta": {
        "cache": "hit",
        "checked_at": "string",
        "duration_ms": 0,
        "provider": "string"
      },
      "ok": null,
      "version": null
    },
    "type": "string"
  }
}