Getting Started
To get started, select your preferred programming language from the list below. This will provide you with code examples tailored to your chosen language.
Our APIs are intentionally blocked by CORS for security reasons. To avoid issues, ensure all API requests are made from your server-side application.
End Points
All API requests are made to the following base URL:
Environment | Base URL |
---|---|
Test | https://sandbox.gratero.com (opens in a new tab) |
Production | https://api.gratero.com (opens in a new tab) |
Latest Version | v1 |
Authentication
To use the Gratero APIs, you need to authenticate your requests using an API key and a Secret key. Follow the steps below to generate your keys:
- Sign Up: Visit the Gratero website and sign up for an account.
- Generate API Key: Once logged in, navigate to the API Keys section in your account settings.
- Create a New Key: Click on the "Generate New API Key" button to create your API key and Secret key.
- Store Your Keys: Save your API key and Secret key securely. You will need these keys to authenticate your API requests.