{
  "x402Version": 2,
  "id": 31743,
  "slug": "31743",
  "resource": "https://api2ls.com/api/price",
  "description": "Get the live spot price of a crypto/asset pair",
  "type": "http",
  "resourceType": "Market Data",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x692DcE6b2876854FA9d348BFBfd9C1c4DE6C07DD",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "AifT6piHJ957oqgeRVLAiAmvm3dJ3rLnD2EVck6Msf7k",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "amount": {
            "type": "string"
          },
          "asOf": {
            "type": "string"
          },
          "base": {
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "pair": {
            "type": "string"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success",
          "pair",
          "amount"
        ],
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "pairs": "BTC-USD,ETH-USD,SOL-USD"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "amount": "64235.18",
            "asOf": "2026-06-17T09:30:00.000Z",
            "base": "BTC",
            "currency": "USD",
            "pair": "BTC-USD",
            "success": true
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "currency": {
                    "description": "Quote currency, e.g. USD (default USD)",
                    "type": "string"
                  },
                  "pair": {
                    "description": "Single asset pair, e.g. BTC-USD",
                    "type": "string"
                  },
                  "pairs": {
                    "description": "Comma-separated batch of pairs, e.g. BTC-USD,ETH-USD (max 25; returns all in one call)",
                    "type": "string"
                  },
                  "symbol": {
                    "description": "Asset symbol, e.g. ETH (used with currency)",
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "amount": {
                    "type": "string"
                  },
                  "asOf": {
                    "type": "string"
                  },
                  "base": {
                    "type": "string"
                  },
                  "currency": {
                    "type": "string"
                  },
                  "pair": {
                    "type": "string"
                  },
                  "success": {
                    "type": "boolean"
                  }
                },
                "required": [
                  "success",
                  "pair",
                  "amount"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "api2ls.com",
  "lastUpdated": "2026-10-09T09:04:07.867Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-09T09:04:07.658Z"
  },
  "metadata": {
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "method": "GET",
            "queryParams": {
              "pairs": "BTC-USD,ETH-USD,SOL-USD"
            },
            "type": "http"
          },
          "output": {
            "example": {
              "amount": "64235.18",
              "asOf": "2026-06-17T09:30:00.000Z",
              "base": "BTC",
              "currency": "USD",
              "pair": "BTC-USD",
              "success": true
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "method": {
                  "enum": [
                    "GET"
                  ],
                  "type": "string"
                },
                "queryParams": {
                  "properties": {
                    "currency": {
                      "description": "Quote currency, e.g. USD (default USD)",
                      "type": "string"
                    },
                    "pair": {
                      "description": "Single asset pair, e.g. BTC-USD",
                      "type": "string"
                    },
                    "pairs": {
                      "description": "Comma-separated batch of pairs, e.g. BTC-USD,ETH-USD (max 25; returns all in one call)",
                      "type": "string"
                    },
                    "symbol": {
                      "description": "Asset symbol, e.g. ETH (used with currency)",
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "amount": {
                      "type": "string"
                    },
                    "asOf": {
                      "type": "string"
                    },
                    "base": {
                      "type": "string"
                    },
                    "currency": {
                      "type": "string"
                    },
                    "pair": {
                      "type": "string"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "success",
                    "pair",
                    "amount"
                  ],
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api2ls.com",
    "manifest_name": "api2ls.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": {
    "amount": "64235.18",
    "asOf": "2026-06-17T09:30:00.000Z",
    "base": "BTC",
    "currency": "USD",
    "pair": "BTC-USD",
    "success": true
  }
}