Make sure you have your API key ready for authentication!

Testing Uniblock API Endpoints

Uniblock's API reference section offers you an extensive toolkit to test our endpoints and gain familiarity with the structure of requests and responses. With built-in code editor and examples available in several popular languages, you can get a real-time idea of how to implement these calls in your application.

API Reference Section

Navigate to the API Reference section on our documentation page. Here, you'll find a comprehensive list of all available endpoints, divided into different categories based on their functionalities.

Language Examples

On the API reference page, you'll see a dropdown option to select the language for your code examples. We support a wide range of languages including:

  • Shell
  • Node.js
  • Ruby
  • PHP
  • Python
  • JavaScript
  • And more...

Choose the language that corresponds to your application's language or the one you're most comfortable with.

Available supported languages.

Available supported languages.

Code Editor

Below the language selection, you'll find the Try it code editor. This editor auto-generates the sample code for the selected endpoint in your chosen language. You can also customize this code later in your application, according to the specific requirements you need. Once you're satisfied, you can copy this code and import it into your application.

Response Section

Next, you'll find the Response section. This section provides an example of what a successful HTTP 200 response looks like when you call the respective endpoint. For instance, a typical HTTP 200 OK response might look like this:

  "status": 200,
  "data": {
    // The data returned by the endpoint will go here

Understanding the structure of these responses can help you build effective error handling and data processing within your application.

Query Parameters Section

This section describes the various query parameters that you can use with each endpoint. These parameters help to customize the API call to your specific requirements.

Request History

Lastly, the Request History section gives you an overview of your recent API activity. You can switch between different timeframes (1 day, 7 days, 30 days) to review your API usage.

Remember, testing and understanding each endpoint is crucial before integrating it into your production application. Should you encounter any issues or have further queries, feel free to reach out to our support team. Happy testing!