External API User Manual
For detailed API documentation and to test the endpoints interactively, visit the Swagger UI:
Loading base URL...For detailed API documentation and to test the endpoints interactively, visit the Swagger UI:
Loading base URL...This guide will walk you through the steps to use the AuthenticateClient endpoint using Postman.
https://data.sqn.lucroranalytics.com.Open the Postman application on your machine.
Step 2: Create a New RequestAuthenticateClient endpoint:
Click on the Send button to send the request.
Step 7: View the ResponseAfter sending the request, you should see a response from the server. If the authentication is successful, you will receive a JSON response containing the authentication token. Example response:
Copy the token from the response and use it in the Authorization header for subsequent requests to authenticate your API calls.
Once authenticated, you can use the following GET endpoints to retrieve data. Ensure that the token is included in the Authorization header. Each endpoint has a limit of 10 requests per second.
Endpoint: GET /data/cscore/issuers/start/{startDate}?correlationId={correlationId}
Parameters:
:date yyyy-MM-dd).Description: This endpoint retrieves C-Score data for all issuers for the given date. If you don’t provide a correlationId, one will be generated for you in the logs, but it is helpful to include one for tracking.
Response: If the request is successful, a JSON object containing the C-Score data will be returned. In case of an error, appropriate status codes such as 400 Bad Request or 500 Internal Server Error will be returned.
Endpoint: GET /data/cscore/issuer/{issuerName}/start/{startDate}?correlationId={correlationId}
Parameters:
:text):date yyyy-MM-dd).Description: This endpoint retrieves C-Score data for a specific issuer over a given date.
Endpoint: GET /data/vscore/issuers/start/{startDate}?correlationId={correlationId}
Parameters:
:date yyyy-MM-dd).Description: This endpoint retrieves V-Score data for all issuers for the given date.
Endpoint: GET /data/vscore/{issuerName}/start/{startDate}?correlationId={correlationId}
Parameters:
:text):date yyyy-MM-dd).Description: This endpoint retrieves V-Score data for a specific issuer on the provided date.
These are essential for tracking individual requests through the system for debugging and tracing purposes. Always provide a correlationId if available, as it makes it easier to find and track logs if issues arise.
For all endpoints that require date parameters, use the yyyy-MM-dd format.
Ensure you have the correct JWT token in your cookies for authorization. If the token is missing or invalid, the system will return an error.
If something goes wrong, the API will return appropriate HTTP status codes:
The system logs all requests and responses along with any issues encountered. This helps with debugging if anything unexpected happens.