Prerequisites
Before you begin, you’ll need:- An active account on api.creditriskmonitor.com
- API credentials (username and password)
Full Access Account
Full Access Account
- Contact our Sales team:
- Email: [email protected]
- Phone: (845) 230-3000
- Discuss your specific needs
- Get personalized onboarding support
Developer Account
Developer Account
- Perfect for evaluation and testing
- Free 30-day access
- Request Developer Access Here
-
- North American business coverage
- 200 requests per hour
- 30-day validity
- API-only access (no web platform access)
Authentication Process
Generate Session Key
Your first API call should be to the login endpoint to obtain a :There is a rate limit based on the type of user account you have:
Each request will return three headers that describe the rate limit values.
| User Type | Requests per hour |
|---|---|
| Ordinary | 10 |
| API Developer | 200 |
| API User | no limit |
| Header Name | Description |
|---|---|
| X-RateLimit-Limit | The maximum number of request the user is allowed per hour. |
| X-RateLimit-Remaining | The number of requests remaining for the current hour. |
| X-RateLimit-Reset | The number of seconds until a new quota of requests is allocated to the user. |
Use Session Key
Include the in the header of all subsequent API requests. For example, a subsequent request to the News endpoint would be:Important notes:
- All API endpoints require a valid
- Requests without a valid session key will return an error
- Session keys expire after a period of inactivity
- If your session key expires, simply generate a new one by logging in again
Querying Business Info
In this example, we will write Python code to get basic business info using CreditRiskMonitor API. Let’s define ourCRMZApi class function.