---
title: "Current USD spot price and 24-hour percent change for any crypto asset by CoinGecko id"
method: GET
path: "/api/price/{coin}"
tags: ["Crypto Markets"]
---

# Current USD spot price and 24-hour percent change for any crypto asset by CoinGecko id

`GET /api/price/{coin}`

## Request

- Base URL: `https://api.webbersites.com`
- URL: `https://api.webbersites.com/api/price/{coin}`
- Auth: API key in header `X-PAYMENT`

Current USD spot price and 24-hour percent change for any crypto asset by CoinGecko id. Cheap, high-volume price lookups for trading and analytics agents.

Price: $0.001 per call, paid in USDC via the x402 protocol (see the x402 security scheme).

## Path parameters

- `coin` string, required

## Response `200`

Success

- object
  - `coin` string
  - `usd` number
  - `change_24h_pct` number
  - `ts` string

## Other responses

- `402`: Payment required — the response body lists accepted payment methods (amount, asset, network, pay-to address). Retry the request with a signed X-PAYMENT header.

---

[API](https://skmtc.dev/webbersites/apis/webbersites-x402-data-api.md) · [All operations](https://skmtc.dev/webbersites/apis/webbersites-x402-data-api/llms.txt) · [OpenAPI document](https://skmtc.dev/webbersites/apis/webbersites-x402-data-api/revisions/c14a76c67a94?raw)
