Introduction
Flora’s RESTful API enables developers to seamlessly integrate structured data extraction capabilities into their applications.
This documentation will guide you through the process of integrating Flora’s API into your projects, covering everything from authentication to specific endpoint usage.
Authentication
To access the Flora API, you’ll need to include your API key in the request header:
Obtain your Flora API key by signing in to your Flora dashboard and navigating to the API Keys section.
API Communication
Flora API adheres to RESTful principles, using JSON for both request bodies and response data. The Content-Type
header in responses is consistently set to application/json
.
Response Structure
Responses from Flora API follow a consistent structure:
For paginated responses, a meta
object is included with pagination details:
Error Handling
Flora API uses HTTP status codes to indicate the outcome of requests. Additionally, the status
field in the response body provides a boolean indicator of success or failure.
Validation Errors (422)
Other Errors (401, 403, 500)
Rate Limiting
To ensure fair usage, Flora API implements rate limiting. If you exceed the limit, you’ll receive a 429 status code:
By familiarizing yourself with these fundamentals, you’ll be well-equipped to harness the full potential of Flora API in your projects. Explore the subsequent sections for detailed information on available endpoints and their usage.