API

Ortege API: Your Interactive Guide to Blockchain Data

Welcome to the Ortege API documentation. We've designed our API to be as user-friendly and accessible as possible, with interactive features that allow you to explore and test the API directly in your browser.

Interactive Documentation: Your Playground for API Exploration

Before diving into the specifics, we encourage you to visit our interactive documentation at:

https://ortege-demo.readme.io/

This platform isn't just a static list of endpoints and parameters. It's a dynamic environment where you can:

  1. Read detailed descriptions of each endpoint

  2. See example requests and responses

  3. Try out API calls directly in your browser

  4. Generate code snippets in various programming languages

Getting Started: From Reading to Doing

When you visit our documentation site, you'll notice that each endpoint comes with a "Try It" button. This feature allows you to:

  1. Input parameters directly in the browser

  2. Send real requests to our API

  3. See the actual responses without writing a single line of code

This hands-on approach helps you understand exactly how our API works and what kind of data you can expect to receive.

Key Features of Our Interactive Documentation

1. Authentication Testing

You can input your API key directly in the interactive console. This allows you to test authenticated requests and see how our API responds to valid and invalid keys.

2. Request Body Builder

For POST requests, like our /smart-contract-interactions endpoint, you'll find an interactive JSON builder. This tool helps you construct valid request bodies without worrying about syntax errors.

3. Response Visualizer

After making a request, you'll see the full response, including headers and body, displayed in a readable format. This helps you understand exactly what data you're getting back and how it's structured.

4. Code Generation

Once you've successfully made a request, you can generate code snippets in various languages (like Python, JavaScript, or cURL). This feature accelerates your development process by providing ready-to-use code.

Key Endpoints

While you can explore all endpoints in detail on our interactive platform, here are a few to get you started:

  1. GET /supported-blockchains: Discover which blockchains our API currently supports.

  2. POST /smart-contract-interactions: Retrieve detailed information about smart contract activities.

Remember, you can test these and all other endpoints directly in your browser at https://ortege-demo.readme.io/.

Best Practices for Using Our Interactive Documentation

  1. Experiment Freely: Don't hesitate to try different parameters and see how the API responds. It's a safe environment for learning and testing.

  2. Use Real Data: While we provide example values, using real contract addresses or transaction hashes will give you a better understanding of the data you'll be working with.

  3. Check the Code Samples: After successfully making a request, review the generated code snippets. They can serve as a starting point for integrating our API into your projects.

  4. Read the Descriptions: Each endpoint and parameter comes with detailed descriptions. These can provide valuable insights into how to best use our API.

Conclusion

Our interactive documentation at https://ortege-demo.readme.io/ is more than just a reference—it's a powerful tool for learning, testing, and integrating our API. By providing this hands-on experience, we aim to make your journey into blockchain data analysis as smooth and productive as possible.

We encourage you to dive in, experiment with the API, and discover the wealth of blockchain data at your fingertips. Happy exploring!

Last updated