> For the complete documentation index, see [llms.txt](https://docs.orbiter.finance/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.orbiter.finance/developer/rest-api/overview.md).

# Overview

### API Endpoints

Production environment APIs:&#x20;

```
https://api.orbiter.finance  /  https://openapi.orbiter.finance
```

#### POST /quote

Get a quote for cross-chain token transactions.

**Request Parameters:**

* `sourceChainId`: Source blockchain network ID
* `destChainId`: Destination blockchain network ID
* `sourceToken`: Source token contract address
* `destToken`: Destination token contract address
* `amount`: Transaction amount in string format
* `userAddress`: User wallet address
* `targetRecipient`: Final transaction recipient address
* `slippage`: Acceptable price fluctuation percentage
* `feeConfig`: Fee configuration object

**Example Request:**

```json
{
  "sourceChainId": "42161",
  "destChainId": "10",
  "sourceToken": "0x0000000000000000000000000000000000000000",
  "destToken": "0x0000000000000000000000000000000000000000",
  "amount": "300000000000000",
  "userAddress": "0xefc6089224068b20197156a91d50132b2a47b908",
  "targetRecipient": "0xefc6089224068b20197156a91d50132b2a47b908",
  "slippage": 0.02,
  "feeConfig": {
    "feeRecipient": "0xefc6089224068b20197156a91d50132b2a47b908",
    "feePercent": "0.1"
  }
}
```

#### GET /chains

Get available blockchain networks.

**Headers:**

* `x-api-key`: API key for authentication

#### GET /transaction/status/{hash}

Query transaction status by hash.

**Path Parameters:**

* `hash`: Transaction hash to query

**Headers:**

* `x-api-key`: API key for authentication (optional)

### Notes for Developers

* All token amounts are represented as strings to preserve precision
* Cross-chain transactions may involve multiple steps shown in the response
* Always check the response status and message fields for success/error information
* Except for the EVM network, the same-chain swap network does not support query transactions


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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.orbiter.finance/developer/rest-api/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.
