Prerequisites
Before you begin, you’ll need:- An active account on api.creditriskmonitor.com
- API credentials (username and password)
To get started, request developer access here. This allows you to test the APIs and evaluate if they meet your specific needs before committing to a full account.
Full Access Account
Full Access Account
- Contact our Sales team:
- Email: info@creditriskmonitor.com
- 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
The API can respond in either XML or JSON, defined by setting the parameter.
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.
Add more API endpoints to the CRMZ API Class to easily access other data points in your code.