> ## Documentation Index
> Fetch the complete documentation index at: https://developer.moneyone.in/llms.txt
> Use this file to discover all available pages before exploring further.

# Overview

> Compute analytics from raw FI data (in AA format) or PDF bank statements, in JSON or Excel.

The **Analytics** APIs run a configured analytics journey over financial data and
return the computed insights. You can drive analytics from two data sources, each
available in two output formats:

| Data source                    | JSON output                                | Excel output                                 |
| ------------------------------ | ------------------------------------------ | -------------------------------------------- |
| **Raw FI data (in AA format)** | [Analytics JSON](./analytics-json)         | [Analytics Excel](./analytics-excel)         |
| **PDF bank statements**        | [PDF Analytics JSON](./pdf-analytics-json) | [PDF Analytics Excel](./pdf-analytics-excel) |

All four share a single endpoint and differ only in the `journey_id` and the shape of
`input_data`. The **JSON** journeys return the analytics inline in the `data` object; the
**Excel** journeys return a pre-signed S3 URL to a generated report.

## Sample Analytics Response

For sample analytics responses across the different variants, see the shared drive:

<Card title="Sample analytics responses" icon="folder-open" href="https://drive.google.com/drive/folders/1PlodnsftfrEKebdGz-vIEv9RwhuVUqvd">
  View sample analytics responses for each variant.
</Card>

<Note>
  The analytics output is configurable. The fields and structure returned in `data` can be
  tailored to your product — contact `support@moneyone.in` to adjust them.
</Note>

## Headers

| Header          | Description                               |
| --------------- | ----------------------------------------- |
| `Content-Type`  | `application/json`                        |
| `Authorization` | `Basic <base64(client_id:client_secret)>` |

<Note>
  The `Authorization` value (the Base64 encoding of `client_id:client_secret`), the
  `journey_id`, and the `exchange_application_id` are all provisioned and shared with you
  by Moneyone during onboarding.
</Note>

## Journey IDs

Each variant is bound to its own `journey_id`, which is provided to you by Moneyone during
onboarding. The four variants — Analytics JSON, Analytics Excel, PDF Analytics JSON, and PDF
Analytics Excel — each have a distinct value. Use the `journey_id` that matches the variant
you are calling.

<Note>
  The `journey_id` values differ per variant and per environment. Always use the ones shared
  with you by Moneyone.
</Note>

## Common response envelope

Every response returns the same top-level envelope. Only the `data` object differs by
variant.

```json theme={null}
{
  "status": "SUCCESS",
  "message": "Success",
  "status_code": "success",
  "transaction_id": "62ef3153-b76f-4fe9-b4be-d1ba6e08267b",
  "journey_transaction_id": "EQ.GT.<uuid>#<journey_id>#<hash>",
  "journey_id": "<journey_id>",
  "data": { }
}
```

| Field                    | Description                                                                                |
| ------------------------ | ------------------------------------------------------------------------------------------ |
| `status`                 | Overall status, e.g. `SUCCESS`.                                                            |
| `message`                | Human-readable status message.                                                             |
| `status_code`            | Machine-readable status code, e.g. `success`.                                              |
| `transaction_id`         | Unique ID for this analytics transaction.                                                  |
| `journey_transaction_id` | Fully-qualified journey transaction reference.                                             |
| `journey_id`             | The journey that produced this response.                                                   |
| `data`                   | Analytics payload. Inline insights for JSON variants; an S3 report URL for Excel variants. |

<Card title="Need Help?" icon="headset" href="mailto:support@moneyone.in">
  Contact [support@moneyone.in](mailto:support@moneyone.in) for technical assistance or integration queries.
</Card>
