# Overview

The **Easyparser Real-Time API** is engineered for immediate data extraction, providing instant responses to your on-demand requests. Unlike the [Bulk Integration](/easyparser-documentation/bulk-integration/overview.md), which is optimized for high-volume, asynchronous processing, the Real-Time API operates synchronously, delivering parsed, structured data directly in the response body. This makes it the ideal solution for applications where low latency and immediate results are critical.

All data, regardless of the operation performed, is returned in a consistent, standardized JSON format, ensuring seamless integration into your live applications and workflows.

### Use Cases and Advantages

The Real-Time API is best suited for scenarios demanding instant data access and minimal delay.

| Use Case                             | Description                                                                                       | Advantage                                                         |
| ------------------------------------ | ------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------- |
| **Live Applications and Dashboards** | Displaying up-to-the-minute product information or pricing on a user-facing platform.             | Ensures users always see the most current data.                   |
| **Trigger-Based Workflows**          | Automatically fetching product details when a specific event occurs (e.g., a user clicks a link). | Enables immediate, context-aware actions within your system.      |
| **Time-Sensitive Lookups**           | One-off checks for price verification, stock availability, or quick data validation.              | Provides instant confirmation or data points without delay.       |
| **Testing and Development**          | Rapidly prototyping and testing new features or data models.                                      | Facilitates fast iteration and debugging with immediate feedback. |

### Synchronous Flow

The Real-Time API follows a simple, synchronous request-response model:

1. **Request:** Your application sends a single HTTP request to the Easyparser Real-Time API endpoint, including all necessary parameters and your `api_key`.
2. **Processing:** Easyparser processes the request instantly, navigates the target e-commerce page (Amazon), extracts the required data, and structures it into JSON.
3. **Response:** The API returns the complete, structured JSON data directly in the response body of the same request.

There is no need for job IDs, polling, or webhooks. The entire process is completed in a single, low-latency transaction.

### Authentication and Request Structure

Authentication is handled via a mandatory `api_key` parameter included in the request URL. This key identifies your account and manages your usage limits.

{% hint style="info" %}

#### API Authentication

To use Easyparser features, you need a private **API key** to authenticate your requests.

You can quickly find your key under the Account > Plan section in your [Easyparser Dashboard](https://app.easyparser.com/account/plan). New accounts instantly receive 100 free credits upon signing up.

*If you need a step-by-step visual guide on how to locate and copy your token, please follow our* [*Getting Started Guide.*](/easyparser-documentation/getting-started.md)
{% endhint %}

#### Example Request (Product Detail Operation)

The following `cURL` example demonstrates a request to retrieve detailed product information (the `DETAIL` operation) for a specific Amazon ASIN:

{% code overflow="wrap" %}

```bash
curl --location 'https://realtime.easyparser.com/v1/request?api_key=YOUR_API_KEY&platform=AMZ&operation=DETAIL&output=json&domain=.com&asin=B0D4215HCX&include_html=false'
```

{% endcode %}

For a complete list of parameters for the DETAIL, SEARCH, OFFER,PRODUCT LOOKUP and other operations, explore each operation’s Request documentation using the cards below.

<table data-view="cards" data-full-width="false"><thead><tr><th align="center"></th><th data-hidden data-card-target data-type="content-ref"></th><th data-hidden data-card-cover data-type="image">Cover image</th></tr></thead><tbody><tr><td align="center">Detail Request</td><td><a href="/pages/bkebeEtNPRUHsRHcCy1k">/pages/bkebeEtNPRUHsRHcCy1k</a></td><td></td></tr><tr><td align="center">Offer Request</td><td><a href="/pages/S0JEFSDXvPM80PZFspDr">/pages/S0JEFSDXvPM80PZFspDr</a></td><td></td></tr><tr><td align="center">Search Request</td><td><a href="/pages/TitQ5vj8PLvJeAVF3KmA">/pages/TitQ5vj8PLvJeAVF3KmA</a></td><td></td></tr><tr><td align="center">Product Lookup Request</td><td><a href="/pages/n682HW3Kw5exWTzJ6jUh">/pages/n682HW3Kw5exWTzJ6jUh</a></td><td></td></tr></tbody></table>

### ⏱ Technical Limitations and Performance

To ensure service stability and fair usage across all users, the Real-Time API has the following technical constraints:

| Constraint                          | Detail                      | Note                                                                                                                                                              |
| ----------------------------------- | --------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Maximum Response Time (Timeout)** | **15 seconds**              | If the data extraction process exceeds 15 seconds, the request will time out and return an error. This ensures your applications do not hang on slow responses.   |
| **Rate Limiting**                   | Varies by Subscription Plan | The number of requests you can send per minute is determined by your active Easyparser subscription plan. Exceeding this limit will result in a rate limit error. |

### 🧪 Testing and Experimentation (Playground)

The Playground demonstrates the standardized JSON response structure you will receive from the Real-Time API. This web-based interface allows you to construct requests, view the structured JSON response, and see the exact cURL command generated for your request. It is an excellent tool for understanding the API's parameters and expected output before writing any code.

To begin your testing, you can sign up for a free demo package, which renews monthly and provides you with a valid `api_key` and a set of free credits.

[Sign Up for Free Demo Package](https://app.easyparser.com/signup)

All Real-Time API responses follow a standardized JSON format, though the structure and available fields may differ slightly between operations.

A typical response includes four main top-level objects:

| Object               | Description                                                                                                                                       |
| -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |
| `request_info`       | General status of the API call, including `success` status and `status_code`.                                                                     |
| `request_parameters` | An echo of the parameters sent in the request (e.g., `output`, `language`).                                                                       |
| `request_metadata`   | Processing details for the request, such as `created_at`, `processed_at`, and the crucial `total_time_taken` (confirming the low-latency nature). |
| `result`             | Contains the extracted data, nested under the operation type (e.g., `detail`, `search`). **This is where the specific data payload resides.**     |

For detailed JSON schemas and response examples for each operation, explore the response documentation using the cards below.

<table data-view="cards" data-full-width="false"><thead><tr><th align="center"></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td align="center">Detail Response</td><td><a href="/pages/PczwIipDDkMXbCrwXRJT">/pages/PczwIipDDkMXbCrwXRJT</a></td></tr><tr><td align="center">Offer Response</td><td><a href="/pages/xvg8SNjazJqm1xKmM4Is">/pages/xvg8SNjazJqm1xKmM4Is</a></td></tr><tr><td align="center">Search Response</td><td><a href="/pages/mfUkcXVkvJjont3ZYDP3">/pages/mfUkcXVkvJjont3ZYDP3</a></td></tr><tr><td align="center">Product Lookup Response</td><td><a href="/pages/EL1H25aS9TJPTdjDuEIq">/pages/EL1H25aS9TJPTdjDuEIq</a></td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://easyparser.gitbook.io/easyparser-documentation/real-time-integration/overview.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
