Api Endpoint

api2ls.com

Get the live spot price of a crypto/asset pair

Open interactive test console

Offering

Provider
api2ls.com
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Blockchain And Crypto
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://api2ls.com/api/price
MIME type
application/json
First seen
2026-10-16T01:53:06.460Z
Last seen
Tags
None supplied

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.01 USDC
Atomic price: 10000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.01 USDC
Atomic price: 10000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "10000",
    "payTo": "0x692DcE6b2876854FA9d348BFBfd9C1c4DE6C07DD"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "10000",
    "payTo": "AifT6piHJ957oqgeRVLAiAmvm3dJ3rLnD2EVck6Msf7k"
  }
]

Observed health

Status
Healthy
Latest latency
630 ms
Average latency
1765 ms
HTTP status
402
Last checked
Reachability
93.3% over 15 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "pairs": {
          "type": "string",
          "description": "Comma-separated batch of pairs, e.g. BTC-USD,ETH-USD (max 25; returns all in one call)"
        },
        "pair": {
          "type": "string",
          "description": "Single asset pair, e.g. BTC-USD"
        },
        "symbol": {
          "type": "string",
          "description": "Asset symbol, e.g. ETH (used with currency)"
        },
        "currency": {
          "type": "string",
          "description": "Quote currency, e.g. USD (default USD)"
        }
      }
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output 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"
}