Skip to content

Basic Information

Base URL

EnvironmentBase URL
Staginghttps://api-beta.valuescan.io/api
Productionhttps://api.valuescan.io/api

HTTP method

All endpoints use POST with a JSON body.

Headers

HeaderRequiredDescription
Content-TypeYesapplication/json
X-API-KEYYesYour API key
X-TIMESTAMPYesMilliseconds since Unix epoch
X-SIGNYesRequest signature
AcceptNoRecommended */* or application/json

Response envelope

json
{
    "code": 200,
    "message": "success",
    "data": { ... },
    "requestId": "xxx-xxx-xxx"
}
FieldTypeDescription
codeinteger200 success; other values indicate errors
messagestringsuccess or error text
dataobject/arrayPayload shape varies by endpoint
requestIdstringIdempotency / support correlation

Concepts

vsTokenId

Unique token id in ValueScan; required for most token-scoped APIs.

How to obtain

  • Call Token list and search by name or symbol
  • Cache frequently used ids to avoid repeat lookups

Credits

Each call consumes credits; see Credits in each endpoint doc.

Enum overview

EnumRoleNotes
BucketTypeK-line intervalSecond through month
KlineTypeK-line venueBinance spot, perps, etc.
TimeParticleEnumTime bucketingMinute through year
PriceMarketTypeDirectionUp or down
TradeTypeMarketSpot or contract
FundsMovementTypeFlow anomaly kindIn/out and signal classes
ChanceMessageTypeOpportunity messageSignal taxonomy
RiskMessageTypeRisk messageSignal taxonomy