# Existing Client API

💡 Want to get started? Jump into our[ API Reference](https://ddp.definitive.fi/overview).

### <mark style="color:orange;">**Who is this API For?**</mark>

Existing clients of Definitive's trading platform can use this REST API to:

* Incorporate Definitive's trading capabilities into internal trading tools
* Access Post-Trade Reporting data directly via API
* Build products and tools leveraging existing Definitive trading vault wallet infra

### <mark style="color:orange;">**Welcome to the Definitive Trading API**</mark>

The **Definitive Trading API** gives developers and builders access to all of the **institutional-grade execution** and **automated trade analytics** found in our advanced trading UI.

Built for institutions, protocols, dApps, and AI agents, the API lets you **execute trades across 200+ liquidity venues**, access **advanced order types**, and retrieve **post-trade data** — without the headache of building execution logic, routing algorithms, or parsing block explorer data yourself.

***

### ⚙️ <mark style="color:orange;">Features</mark>

### **Deep Liquidity Aggregation**

When you place an order on Definitive we ensure institutional-grade, **multi-venue** execution by automatically routing orders across 100+ DEXs, PMMs, Liquidity Pools, Contracts, and Aggregators.

Our API provides instant quotes and breakdowns of execution venues for the fills involved.

### **Advanced Order Types**

Definitive supports onchain Market, Limit, TWAP, and Stop order types. Build advanced execution strategies through a unified, low-friction API.

### **Intent Masking**

Definitive is the only platform that offers onchain Market, Limit, TWAP, and Stop orders while keeping intent off-chain.

Unlike traditional protocols that expose strategy details onchain )risking frontrunning and MEV) Definitive separates order creation from execution. This architecture allows you to express complex trading logic without leaking sensitive intent to the network, preserving alpha and improving execution quality.

### **Gasless Execution**

With Definitive, users never worry about gas fees. By leveraging account-abstraction we are able to remove the friction of gas-sponsorship so you can focus fully on trading.

### **Post-Trade Reporting Analytics**

Every trade routed through Definitive returns:

* **Fill Time**
* **Fill Size**
* **Detailed Price Breakdown**
* **Execution Venues**
* **Fee Details**

Skip hours of parsing block explorers with Definitive’s automated post-trade data.

***

### 💡 <mark style="color:orange;">Why Integrate Definitive?</mark>

* **Save Months of Dev Time**

  No need to build complex execution engines, slippage logic, or multi-chain liquidity routing from scratch.
* **Transparent Post-Trade Data**

  Instantly access trade fill data for compliance, reconciliation, or internal PnL dashboards.
* **Unified Access Across Chains**

  One integration unlocks **all major EVM chains + Solana**.
* **Built for AI Agents**

  Real-time trading APIs ready for integration with automated models and intelligent agents.
* **Battle-Tested Infra**

  Over $1.3B in notional volume executed on Definitive since March 2024 and [multiple security audits ](/what-is-definitive.md)from Tier 1 firms.
* **Chain-agnositc Execution**

  We're fully integrated across 10 chains (and more coming), seamlessly bridge and trade cross-chain.

***

***

### 🔗 <mark style="color:orange;">Installation Developer Links</mark>

* [REST API Reference](https://ddp.definitive.fi/overview) (full API documentation)
* [Join Discord](https://discord.gg/definitive)


---

# 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://docs.definitive.fi/developers/existing-client-api.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.
