apyhub
Back
▣ FINANCE

Crypto Market Sentiment Index API

What it does

Crypto Sentiment Index returns the current crypto market sentiment as a numeric value, a classification label, and a Unix timestamp in milliseconds. Send an optional limit query parameter to control how many recent entries you want back, up to 30.

Use it when you need a lightweight signal for dashboards, trading bots, alerts, or market commentary. The response includes a source string and an entries array, so you can trace where the sentiment data came from and iterate over the latest readings without extra parsing.

Each entry contains value from 0 to 100, classification, and timestamp. That makes it easy to compare the current reading with historical snapshots, threshold alerts, or other market indicators in your own app.

If you need a compact sentiment feed for crypto products, Crypto Sentiment Index keeps the response focused on the fields that matter.

GET
Crypto market sentiment
https://api.eu.apyhub.com/corsair96/crypto-market-sentiment-index/crypto/fear-greed

QUICKSTART

GUIDE

Quickstart

Fetch the latest crypto fear and greed index entry, using the default limit of 1.

curl -X GET "https://api.eu.apyhub.com/corsair96/crypto-market-sentiment-index/crypto/fear-greed" \
  -H "apy-token: $APY_TOKEN"

What you'll get back

Returns a JSON object with a source string and an entries array. Each entry is an object with value integer, classification string, and timestamp integer (Unix timestamp in milliseconds).

{
  "source": "alternative.me",
  "entries": [
    {
      "value": 0,
      "classification": "Extreme Fear",
      "timestamp": 1700000000000
    }
  ]
}
TRY ITLIVE · 25 ATOMS
Loading your default key…
The full key is used to call the gateway and stays in this tab — never sent to orbit or saved.

About this endpoint

What it does

Retrieves the Crypto Fear & Greed index and returns one or more index entries, with the number of entries controlled by the optional limit query parameter.

Sentiment CategoryDescription
Extreme FearPeople are very worried and may be selling crypto.
FearPeople are worried about market conditions.
NeutralSentiment is neither strongly fearful nor greedy.
GreedPeople are optimistic and more willing to buy.
Extreme GreedPeople are very optimistic, possibly taking excessive risks.

Query Parameter(s)

AttributeTypeMandatoryDescription
limitIntegerNoNumber of entries to return. Default: 1. Minimum: 1. Maximum: 30.

Response

Returns a JSON object with a source string field and an entries array field. Each item in entries is an object containing value as an integer, classification as a string, and timestamp as an integer Unix timestamp in milliseconds.

AttributeTypeDescription
sourceStringData source for the index response.
entriesObject ArrayArray of index entries. Each entry contains: value, classification, and timestamp.
entries[].valueIntegerFear & Greed index value. Minimum: 0. Maximum: 100.
entries[].classificationStringClassification label for the index entry.
entries[].timestampIntegerUnix timestamp in milliseconds.
▣ COMMON ERRORS

Errors any endpoint can return

400bad_request

Required parameter missing or malformed body.

401unauthorized

API key missing, revoked, or not authorized for this service.

429rate_limited

Your plan's per-second rate exceeded. Retry with exponential backoff.

503upstream_busy

Backend temporarily unavailable. Try again in a few seconds.