Verify a signed print locally with ECDSA P-256/SHA-256. Canonical bytes are pulse-index-v1\n<symbol>\n<priceText or String(price)>\n<at>\n<grade>. The public key ring is read from /api/index/v1/pubkey, cached for five minutes and refreshed at most once per 30 seconds on a failed check. A supplied kid selects only that exact key; old prints without kid are tried against the bounded published ring. valid=true authenticates only the canonical price fields, not kid, sig, quality, cadence, timestamps outside at, or other metadata. When the print carries a v2 block (pulse-index-v2), it is verified too: v2.valid=true means the signature over v2.canonical is valid AND every signed line (sources, tier, confidence, dispersionBps, interval, cadence, engine, price and the rest) matches the supplied fields; v2.signedFields are the signed values and v2.mismatches names any field that differs. recordValid=true and verificationScope=full-record require BOTH price and complete v2 record verification. metadataSigned equals recordValid. Require recordValid before trusting quality fields. A v1-only print has scope price-only, never verified metadata. Neither signature proves freshness or settlement suitability; indicative data must not be used for settlement. An invalid signature can mean an altered print or a key no longer published; it does not by itself prove tampering.
View input schema
{
"type": "object",
"properties": {
"symbol": {
"type": "string",
"minLength": 1,
"maxLength": 20,
"pattern": "^[A-Za-z0-9]+$",
"description": "Crypto ticker symbol, e.g. BTC, ETH, SOL"
},
"price": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 100,
"pattern": "^[+-]?(?:\\d+(?:\\.\\d*)?|\\.\\d+)(?:[eE][+-]?\\d+)?$"
},
{
"type": "number"
}
],
"description": "Price from the print, unchanged (text or number)"
},
"priceText": {
"$ref": "#/properties/price/anyOf/0",
"description": "Exact signed price text, when provided by the API; preserve unchanged"
},
"at": {
"type": "string",
"minLength": 1,
"maxLength": 40,
"pattern": "^[^\\x00-\\x1f\\x7f\\u0085\\u2028\\u2029]+$",
"description": "Timestamp from the print, unchanged"
},
"grade": {
"type": "string",
"minLength": 1,
"maxLength": 20,
"pattern": "^[^\\x00-\\x1f\\x7f\\u0085\\u2028\\u2029]+$",
"description": "Quality grade from the print, unchanged, e.g. consensus"
},
"signature": {
"type": "string",
"minLength": 88,
"maxLength": 88,
"pattern": "^[A-Za-z0-9+/]{86}==$",
"description": "ECDSA P-256 signature in base64"
},
"kid": {
"type": "string",
"pattern": "^[A-Za-z0-9._:-]{1,64}$",
"description": "Signing key identifier, when provided by the API"
},
"sig": {
"type": "string",
"const": "pulse-index-v1",
"description": "Signature version from the print (pulse-index-v1), when provided"
},
"kind": {
"type": "string",
"const": "daily-close",
"description": "Print kind from the print, when provided (daily-close for a daily close)"
},
"assetId": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 160,
"pattern": "^[^\\x00-\\x1f\\x7f\\u0085\\u2028\\u2029]+$"
},
{
"type": "null"
}
],
"description": "Asset identifier from the print, unchanged, when provided"
},
"closeDay": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
{
"type": "null"
}
],
"description": "UTC day of a daily close (YYYY-MM-DD), from the print, when provided"
},
"engine": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 64,
"pattern": "^[^\\x00-\\x1f\\x7f\\u0085\\u2028\\u2029]+$"
},
{
"type": "null"
}
],
"description": "Pricing engine label from the print, unchanged, when provided"
},
"sources": {
"anyOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "null"
}
],
"description": "Number of exchanges that contributed, from the print, when provided"
},
"tier": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 20,
"pattern": "^[^\\x00-\\x1f\\x7f\\u0085\\u2028\\u2029]+$"
},
{
"type": "null"
}
],
"description": "Coverage tier from the print, unchanged, when provided"
},
"confidence": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Confidence score from the print, unchanged, when provided"
},
"dispersionBps": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Spread between contributing exchanges in basis points, from the print, when provided"
},
"interval": {
"anyOf": [
{
"type": "object",
"properties": {
"lower": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Lower bound of the price interval, from the print"
},
"upper": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Upper bound of the price interval, from the print"
}
},
"required": [
"lower",
"upper"
],
"additionalProperties": false
},
{
"type": "null"
}
],
"description": "Price interval from the print, unchanged, when provided"
},
"cadence": {
"anyOf": [
{
"type": "object",
"properties": {
"band": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 40,
"pattern": "^[^\\x00-\\x1f\\x7f\\u0085\\u2028\\u2029]+$"
},
{
"type": "null"
}
],
"description": "Update cadence band, from the print"
},
"calculatedAgeMs": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Age of the calculation in milliseconds, from the print"
},
"newestSourceAgeMs": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Age of the newest exchange quote in milliseconds, from the print"
},
"oldestSourceAgeMs": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Age of the oldest exchange quote in milliseconds, from the print"
},
"p50UpdateMs": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Median time between updates in milliseconds, from the print"
},
"p95UpdateMs": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "95th percentile time between updates in milliseconds, from the print"
}
},
"additionalProperties": false
},
{
"type": "null"
}
],
"description": "Cadence block from the print, unchanged, when provided"
},
"licence": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 60,
"pattern": "^[^\\x00-\\x1f\\x7f\\u0085\\u2028\\u2029]+$"
},
{
"type": "null"
}
],
"description": "Plan licence from the print, unchanged, when provided (a signed v2 line on prints requested with licence=1)"
},
"v2": {
"type": "object",
"properties": {
"sig": {
"type": "string",
"const": "pulse-index-v2",
"description": "v2 signature version (pulse-index-v2), from the print"
},
"canonical": {
"type": "string",
"minLength": 1,
"maxLength": 8192,
"description": "The exact signed string from the print, unchanged"
},
"signature": {
"type": "string",
"minLength": 88,
"maxLength": 88,
"pattern": "^[A-Za-z0-9+/]{86}==$",
"description": "v2 ECDSA P-256 signature in base64, from the print"
},
"kid": {
"type": "string",
"pattern": "^[A-Za-z0-9._:-]{1,64}$",
"description": "v2 signing key identifier, from the print"
}
},
"required": [
"sig",
"canonical",
"signature",
"kid"
],
"additionalProperties": false,
"description": "The v2 block from the print, unchanged: it signs the whole record, quality fields included"
}
},
"required": [
"symbol",
"price",
"at",
"grade",
"signature"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}