Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent
with a free APIs.io key —
sign in with
GitHub,
Google or
LinkedIn.
No form to fill in; signing in shares your email address with us (Privacy).
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: CoinXview Risk API
version: 1.0.0
summary: 'Free crypto market data API: prices, market cap, risk score, Fear & Greed, OHLC.'
description: 'Live prices for 1,200+ coins aggregated directly from 22 exchanges (volume-weighted, outliers removed), CoinXview Risk Score, global market data, CoinXview''s own Fear & Greed index and OHLC candles.
- No API key, no sign-up. CORS is open (`Access-Control-Allow-Origin: *`).
- Rate limit: 60 requests per minute per IP. Responses carry `X-RateLimit-Limit` / `X-RateLimit-Remaining`; over the limit you get HTTP 429 with `Retry-After: 60`.
- Responses are cached for 30-300 seconds.
- Attribution required: show "Data: CoinXview" with a link to https://coinxview.com wherever the data is displayed. Not investment advice.'
termsOfService: https://coinxview.com/dieu-khoan
contact:
name: CoinXview
url: https://coinxview.com/lien-he
x-logo:
url: https://coinxview.com/static/icon-512.png
servers:
- url: https://coinxview.com/api/v1
security: []
tags:
- name: Risk
paths:
/risk/{symbol}:
get:
tags:
- Risk
operationId: getRisk
summary: CoinXview Risk Score with its components
description: 'Embeddable badge: https://coinxview.com/badge/risk/{symbol}.svg'
parameters:
- name: symbol
in: path
required: true
description: Coin symbol (case-insensitive).
schema:
type: string
pattern: ^[A-Za-z0-9]{1,20}$
example: SOL
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
required:
- updated
- data
properties:
updated:
type: integer
description: Server time when the response was built (unix milliseconds).
data:
$ref: '#/components/schemas/Risk'
'404':
$ref: '#/components/responses/NotFound'
'429':
$ref: '#/components/responses/RateLimited'
components:
schemas:
Error:
type: object
required:
- error
properties:
error:
type: string
Risk:
type: object
properties:
symbol:
type: string
name:
type: string
risk:
type: integer
minimum: 0
maximum: 100
risk_level:
type: string
enum:
- low
- medium
- high
- very_high
partial:
type: boolean
description: True when some components lack data yet.
components:
type: array
items:
type: object
properties:
key:
type: string
enum:
- liq
- vol
- ex
- spread
- age
name:
type: string
weight_pct:
type: number
score:
type: number
description: 0-100, higher = riskier.
hack_penalty:
type: integer
description: Points added when the project lost $1M+ to a hack in the last 12 months.
method:
type: string
description: How the score is calculated.
url:
type: string
format: uri
about:
type: string
format: uri
responses:
RateLimited:
description: More than 60 requests per minute from this IP.
headers:
Retry-After:
schema:
type: integer
description: Seconds to wait (60).
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
NotFound:
description: Unknown symbol (or no data yet).
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
externalDocs:
description: API documentation with live examples
url: https://coinxview.com/free-crypto-api
x-provenance:
method: harvested
publisher: CoinXview
source: https://coinxview.com/openapi.json
note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
stamped by stamp-openapi-provenance.py (roadmap#793)