Skip to main content

Headers

This endpoint allows users to retrieve a JSON response of the headers their application is sending, aiding in troubleshooting authentication issues, particularly with the Authorization header.

tip

The values in sensitive headers such as Authorization are partially redacted in the response for security purposes.

Endpoint

https://api.marketdata.app/headers/

Method

GET

Request Example

Response Example

{
"accept": "*/*",
"accept-encoding": "gzip",
"authorization": "Bearer *******************************************************YKT0",
"cache-control": "no-cache",
"cf-connecting-ip": "132.43.100.7",
"cf-ipcountry": "US",
"cf-ray": "85bc0c2bef389lo9",
"cf-visitor": "{\"scheme\":\"https\"}",
"connection": "Keep-Alive",
"host": "api.marketdata.app",
"postman-token": "09efc901-97q5-46h0-930a-7618d910b9f8",
"user-agent": "PostmanRuntime/7.36.3",
"x-forwarded-proto": "https",
"x-real-ip": "53.43.221.49"
}

Response Attributes

  • Headers object

    A JSON object representing the headers received from the user's request. This object includes standard and custom headers along with their respective values.

This endpoint is particularly useful for debugging issues related to authentication by allowing users to see exactly what headers are being sent to the API.