Market Data

Get image (deprecated)

Changed on

Deprecated: this endpoint is no longer maintained and may be removed in a future release. Returns the binary content of an image at the given path (usually received from another Market Data endpoint). The image path is appended to the endpoint URL.

Example:

  • For path: /resources/news/64/12888774.jpeg
  • Request: GET /market_data/image/resources/news/64/12888774.jpeg
get/market_data/image/{path}

Request

  • Base URL
    https://api.cert.zerohash.com
  • URL
    https://api.cert.zerohash.com/market_data/image/{path}
  • Auth
    API key in header X-SCX-API-KEY and API key in header X-SCX-PASSPHRASE

Path parameters

pathstring required

Arbitrary sub-path of the image resource (e.g. resources/news/64/12888774.jpeg).

Headers

X-SCX-SIGNEDstring required

HMAC-SHA256 signature of the request, base64-encoded. See the Authentication guide for the exact signing formula.

X-SCX-TIMESTAMPstring required
Example:1678901234

Current Unix timestamp in seconds. Must be within 60 seconds of server time or the request is rejected.

Response

Raw image bytes for the requested resource.

Changes