Developers

OMNADATA APIs

Order company reports, track their status and retrieve delivered reports as structured data or PDF, directly from your systems.

REST over HTTPSJSON and PDF responsesIdempotent ordering
Base URL
https://x-api-services.omnadata.com/connect/v1

Production: live orders. Code samples on this page use this URL.

Endpoints
Get your API key
Getting started

Introduction

The OMNADATA APIs connect your systems to OMNADATA company data and reports. Orders placed through the APIs use the same reports, prices and wallet as the OMNADATA portal, and appear in your order history alongside portal orders.

Prerequisites

  • API access enabled for your OMNADATA account. Your account manager enables it on request.
  • An API key. An account admin (Primary or Admin user) creates it in the OMNADATA portal under API Keys. Keys start with omna_live_ and can be viewed and copied again on the same page.
  • Wallet credits. Orders are charged to your OMNADATA wallet at your account's report prices.
  • The base URL of the environment you are calling. Use Demo to build and test your integration, and Production for live orders.
Production
Live orders
https://x-api-services.omnadata.com/connect/v1
Demo
Integration and testing
https://x-services-demo.omnadata.com/connect/v1

Each environment has its own accounts and API keys: create Demo keys in the demo portal (demo.omnadata.com) and Production keys in the OMNADATA portal (omnadata.com). Use the switch next to the base URL at the top of this page to show every code sample for either environment.

Authentication

Authenticate every request with your API key in the Authorization header using the Bearer scheme. X-API-Key: <key> is accepted as an alternative.

Example
curl "https://x-api-services.omnadata.com/connect/v1/orders?limit=1" \
  -H "Authorization: Bearer $OMNA_API_KEY"
  • Keys are never accepted in the URL or query string.
  • Call the API from your servers only, and keep keys in a secret manager or server configuration.
  • To rotate a key, create a new one, deploy it, then revoke the old key on the API Keys page. Revoked keys stop working immediately and return 401 unauthorized.

Requests and responses

Requests and responses use JSON (UTF-8), except Download Report, which returns a PDF. Successful responses wrap the result in data:

Success
{
  "data": {
    "order_id": "3ffe91e0-563c-4050-b64e-55a580b14a4e",
    "status": "PENDING"
  }
}

Errors return an HTTP status code and a body with a stable, machine-readable error.code and a human-readable error.message:

Error
{
  "error": {
    "code": "insufficient_balance",
    "message": "wallet balance is too low for this order; top up and retry"
  },
  "request_id": "31e0a177-6ff8-4b6c-97a3-da4c9ee6b95d"
}
  • Every response carries an X-Request-Id header. Send your own X-Request-Id (up to 128 characters) to have it echoed back, and include it in support requests.
  • Timestamps are ISO 8601 with time zone offset, for example 2026-10-05T14:30:11+05:30.
  • Identifiers (CIN, LLPIN, FCRN) are case-insensitive.

Integration flow

  1. 1
    Create Order with the company identifier, the mode and a unique Idempotency-Key. Store the returned order_id.
  2. 2
    EXISTING orders return COMPLETED with a report_id in the same response.
  3. 3
    FRESH orders return PENDING. Poll Check Order Status or Orders List with status=open until the order is COMPLETED.
  4. 4
    Retrieve the report with its report_id: Get Report returns JSON, Download Report returns the PDF.

The order price is deducted from the wallet when the order is created; no separate payment call is required.

Idempotency

Create Order requires an Idempotency-Key header so that a retried request never creates or charges a second order.

  • Use one key per order: your own order reference or a UUID, 1 to 255 characters. Keys are case-sensitive.
  • Retrying with the same key and the same body returns the original order with status 200 and the header Idempotent-Replayed: true. Nothing is charged again.
  • Reusing a key with a different body returns 422 idempotency_key_reused. Keys stay bound to their first request.
  • A request that fails (for example 402 insufficient_balance) does not consume the key; retry with the same key once the cause is resolved.
  • Store the key with your order record so that retries after a timeout reuse it.
Orders

Create Order

POST/orders

Orders a report on one company and deducts its price from the wallet. EXISTING orders are delivered in the same response with status COMPLETED and a report_id. FRESH orders are returned with status PENDING and complete asynchronously; track them with Check Order Status or Orders List.

Headers

Idempotency-Keystringrequired

A unique value for each new order, 1 to 255 characters, for example your own order reference or a UUID. Retrying with the same key and body returns the original order instead of creating a new one. Keys are case-sensitive and remain bound to their first request.

1 to 255 characters

Request body

identifierstringrequired

The company's CIN, LLPIN or FCRN. Case-insensitive.

modestringrequired

EXISTING delivers an available report immediately. FRESH orders a newly generated report, delivered asynchronously.

Values:EXISTINGFRESH
report_typestringoptional

Optional. Omit it to use the account's report type. Only needed when more than one report type is enabled for the account.

Responses

200

The request repeated an earlier Idempotency-Key with the same body. The original order is returned, nothing is charged, and the response carries the header Idempotent-Replayed: true.

201

Order created and charged. wallet_balance is the balance after the charge.

Response body

wallet_balanceinteger

Wallet balance in credits after the charge.

Request
curl -X POST "https://x-api-services.omnadata.com/connect/v1/orders" \
  -H "Authorization: Bearer $OMNA_API_KEY" \
  -H "Idempotency-Key: erp-order-48213" \
  -H "Content-Type: application/json" \
  -d '{"identifier":"U72900KA2015PTC082345","mode":"EXISTING"}'
Response · 201
{
  "data": {
    "order_id": "3ffe91e0-563c-4050-b64e-55a580b14a4e",
    "order_number": "ORD-2026-000024",
    "status": "PENDING",
    "mode": "FRESH",
    "report_type": "OMNA_BASIC",
    "identifier": "U72900KA2015PTC082345",
    "company_name": "EXAMPLE ANALYTICS PRIVATE LIMITED",
    "credits_charged": 2000,
    "report_id": null,
    "source": "API",
    "created_at": "2026-10-05T14:30:11+05:30",
    "updated_at": "2026-10-05T14:30:11+05:30",
    "completed_at": null
  },
  "wallet_balance": 39000
}
Orders

Check Order Status

GET/orders/{order_id}

Returns one order. When status is COMPLETED, report_id is set and the report can be retrieved with Get Report or Download Report. A polling interval of 15 to 30 minutes is recommended; to track many orders, use Orders List with status=open.

Path parameters

order_idstring (uuid)required

The order_id returned by Create Order.

Responses

200

The order.

Response body

Request
curl "https://x-api-services.omnadata.com/connect/v1/orders/3ffe91e0-563c-4050-b64e-55a580b14a4e" \
  -H "Authorization: Bearer $OMNA_API_KEY"
Response · 200
{
  "data": {
    "order_id": "3ffe91e0-563c-4050-b64e-55a580b14a4e",
    "order_number": "ORD-2026-000024",
    "status": "COMPLETED",
    "mode": "FRESH",
    "report_type": "OMNA_BASIC",
    "identifier": "U72900KA2015PTC082345",
    "company_name": "EXAMPLE ANALYTICS PRIVATE LIMITED",
    "credits_charged": 2000,
    "report_id": "4c67fbb0-e60d-4852-af26-7793ee528076",
    "source": "API",
    "created_at": "2026-10-05T14:30:11+05:30",
    "updated_at": "2026-10-07T11:02:40+05:30",
    "completed_at": "2026-10-07T11:02:40+05:30"
  }
}
Orders

Orders List

GET/orders

Lists the account's orders, newest first, one page at a time. Includes orders placed through the API, in the OMNADATA portal and by OMNADATA on your behalf. Use status=open to track every order that is not yet complete in a single call.

Query parameters

statusstringoptional

pending, processing, completed, or open (pending and processing).

Values:pendingprocessingcompletedopen
modestringoptional

fresh or existing.

Values:freshexisting
identifierstringoptional

Only orders for this company (CIN, LLPIN or FCRN).

fromstring (date)optional

Orders placed on or after this date, YYYY-MM-DD (IST).

tostring (date)optional

Orders placed on or before this date, YYYY-MM-DD (IST).

pageintegeroptional

Page number, starting at 1.

minimum 1 · default 1
limitintegeroptional

Orders per page, 1 to 100.

1 to 100 · default 20

Responses

200

One page of orders. total counts every matching order across all pages.

Response body

dataarray of Order object
paginationobject
pageinteger

Current page.

limitinteger

Orders per page.

totalinteger

Matching orders across all pages.

total_pagesinteger

Number of pages.

Request
curl "https://x-api-services.omnadata.com/connect/v1/orders?status=open&page=1&limit=50" \
  -H "Authorization: Bearer $OMNA_API_KEY"
Response · 200
{
  "data": [
    {
      "order_id": "3ffe91e0-563c-4050-b64e-55a580b14a4e",
      "order_number": "ORD-2026-000024",
      "status": "PENDING",
      "mode": "FRESH",
      "report_type": "OMNA_BASIC",
      "identifier": "U72900KA2015PTC082345",
      "company_name": "EXAMPLE ANALYTICS PRIVATE LIMITED",
      "credits_charged": 2000,
      "report_id": null,
      "source": "API",
      "created_at": "2026-10-05T14:30:11+05:30",
      "updated_at": "2026-10-05T14:30:11+05:30",
      "completed_at": null
    }
  ],
  "pagination": {
    "page": 1,
    "limit": 50,
    "total": 1,
    "total_pages": 1
  }
}
Reports

Get Report

GET/reports/{report_id}

Returns a delivered report as structured JSON for processing in your systems. The report content covers the sections included in the order's report type.

Path parameters

report_idstring (uuid)required

The report_id of a COMPLETED order.

Responses

200

The report.

Response body

dataobject
report_idstring (uuid)

Unique ID of the report.

company_namestring

Registered name of the company.

identifierstring

CIN, LLPIN or FCRN of the company.

report_typestring

The report type the report was delivered as.

versioninteger

Increases by one each time the account receives a newer report on the same company.

published_atstring (date-time)

When the report was delivered.

valid_untilstring | null (date-time)

Date until which the report data is considered current.

reportobject

The report content.

Request
curl "https://x-api-services.omnadata.com/connect/v1/reports/4c67fbb0-e60d-4852-af26-7793ee528076" \
  -H "Authorization: Bearer $OMNA_API_KEY"
Response · 200
{
  "data": {
    "report_id": "4c67fbb0-e60d-4852-af26-7793ee528076",
    "company_name": "EXAMPLE ANALYTICS PRIVATE LIMITED",
    "identifier": "U72900KA2015PTC082345",
    "report_type": "OMNA_BASIC",
    "version": 1,
    "published_at": "2026-10-07T11:02:40+05:30",
    "valid_until": "2027-01-05T11:02:40+05:30",
    "report": {
      "final_json": {
        "...": "report sections"
      }
    }
  }
}
Reports

Download Report

GET/reports/{report_id}/pdf

Returns a delivered report as a PDF document. PDFs are generated on request: set a client timeout of at least 60 seconds and store the file rather than requesting it repeatedly.

Path parameters

report_idstring (uuid)required

The report_id of a COMPLETED order.

Query parameters

unitstringoptional

How monetary amounts are shown: crore, lakh, million or raw (full figures).

Values:crorelakhmillionraw
default crore
summarystringoptional

true returns a condensed summary PDF instead of the full report.

Values:truefalse
default false

Responses

200

The PDF document. The Content-Disposition header names the file after the company, for example EXAMPLE_ANALYTICS_PRIVATE_LIMITED.pdf (summary PDFs end in _SUMMARY.pdf).

Request
curl "https://x-api-services.omnadata.com/connect/v1/reports/4c67fbb0-e60d-4852-af26-7793ee528076/pdf?unit=crore" \
  -H "Authorization: Bearer $OMNA_API_KEY" \
  -o report.pdf
Response · 200
Binary PDF document (Content-Type: application/pdf)
Reference

Order object

Returned by Create Order, Check Order Status and Orders List.

order_idstring (uuid)

Unique ID of the order.

order_numberstring

Human-readable order number, for reference in support requests.

statusstring

PENDING: accepted. PROCESSING: in progress. COMPLETED: the report is ready and report_id is set.

Values:PENDINGPROCESSINGCOMPLETED
modestring

The mode the order was placed with.

Values:FRESHEXISTING
report_typestring

The report type ordered, for example OMNA_BASIC.

identifierstring

CIN, LLPIN or FCRN of the company.

company_namestring

Registered name of the company.

credits_chargedinteger

Credits deducted from the wallet for this order.

report_idstring | null (uuid)

ID of the delivered report. null until the order is COMPLETED.

sourcestring

Where the order was placed: through the API, in the OMNADATA portal, or by OMNADATA on your behalf.

Values:APIPORTALADMIN
created_atstring (date-time)

When the order was placed.

updated_atstring (date-time)

When the order last changed.

completed_atstring | null (date-time)

When the order was completed. null until then.

Errors

Check error.code rather than the message: codes are stable, messages may be reworded. A failed Create Order request is never charged.

400idempotency_key_required
The Idempotency-Key header is missing, blank or longer than 255 characters. Send a unique Idempotency-Key with every Create Order request.
400invalid_body
The request body is not valid JSON. Send a JSON body with Content-Type: application/json.
400invalid_identifier
The identifier is not a valid CIN, LLPIN or FCRN. Check the company's registration number.
400invalid_mode
mode is not FRESH or EXISTING. Use FRESH or EXISTING.
400invalid_status
The status filter is not a supported value. Use pending, processing, completed or open.
400invalid_page
page is not a positive whole number. Use page=1 or higher.
400invalid_limit
limit is outside 1 to 100. Use a limit between 1 and 100.
400invalid_date
from or to is not a YYYY-MM-DD date. Send dates as YYYY-MM-DD.
400invalid_unit
unit is not a supported value. Use crore, lakh, million or raw.
401unauthorized
The API key is missing, invalid or revoked, or API access is disabled for the account. Send a valid key as Authorization: Bearer <key>.
402insufficient_balance
The wallet balance is lower than the price of the order. Top up the wallet, then retry with the same Idempotency-Key.
403report_type_not_enabled
The requested report_type is not enabled for the account. Omit report_type to use the account's report type.
404company_not_found
No company matches the identifier. Check the identifier.
404no_existing_report
No report is available for the company in EXISTING mode. Place the order with mode FRESH.
404order_not_found
The order does not exist or belongs to another account. Check the order_id.
404report_not_found
The report does not exist or belongs to another account. Check the report_id.
409order_in_progress
A FRESH order for this company is already in progress for the account. Track the existing order. Its ID is returned in error.order_id.
409report_already_owned
The account already holds the latest report for this company. Retrieve it with the report_id returned in error.report_id.
409existing_report_incompatible
The available report does not cover the account's report type. Place the order with mode FRESH.
422idempotency_key_reused
The Idempotency-Key was already used with a different request body. Use a new Idempotency-Key for a new order.
429rate_limited
Too many requests in a short period. Wait for the number of seconds in the Retry-After header, then retry.
500internal_error
Unexpected server error. Retry with backoff. For orders, reuse the same Idempotency-Key.
502pdf_generation_failed
Temporary error while generating the PDF. Retry after a short interval.
503pdf_unavailable
PDF generation is temporarily unavailable. Retry after a short interval.
503auth_unavailable
Authentication is temporarily unavailable. Retry after a short interval.

Limits and best practices

120 / minute
Requests per API key, with bursts of up to 30. Excess requests return 429 with a Retry-After header.
100
Maximum orders per page in Orders List.
255
Maximum Idempotency-Key length, in characters.
  • Poll open orders every 15 to 30 minutes; a single Orders List call with status=open covers all of them.
  • Retry 429, 500, 502 and 503 responses with exponential backoff. Resolve the cause of 4xx errors before retrying.
  • Store downloaded PDFs instead of regenerating them on every view.
  • Validate your integration against the demo environment before going live.