# Create Quote

## POST /v0/customers/{customer\_id}/cross-chain-transfer/quote

> Create Cross-Chain Transfer Quote

```json
{"openapi":"3.0.0","info":{"title":"Cross Chain Transfers API","version":"0"},"servers":[{"url":"https://api.alignlabs.dev","description":"Production server"},{"url":"https://api-sandbox.alignlabs.dev","description":"Sandbox server"}],"paths":{"/v0/customers/{customer_id}/cross-chain-transfer/quote":{"post":{"summary":"Create Cross-Chain Transfer Quote","parameters":[{"name":"customer_id","in":"path","description":"The unique identifier of the customer","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"Api-Key","in":"header","description":"Your secret API key, available in the developer dashboard. Include this header on every request to authenticate your application.","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"Unique key to prevent duplicate requests","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["source_token","source_network","destination_token","destination_network"],"oneOf":[{"title":"By Source Amount","properties":{"source_amount":{"type":"string","pattern":"^[0-9]+(\\.[0-9]+)?$","description":"The amount of source token to transfer (required when calculating quote from source to destination)"},"source_token":{"type":"string","enum":["usdc","usdt","eurc"],"description":"The token to transfer from"},"source_network":{"type":"string","enum":["polygon","ethereum","solana","base","arbitrum","tron"],"description":"The blockchain network for the source token"},"destination_token":{"type":"string","enum":["usdc","usdt","eurc"],"description":"The token to transfer to"},"destination_network":{"type":"string","enum":["polygon","ethereum","solana","base","arbitrum","tron"],"description":"The blockchain network for the destination token"},"developer_fee_percent":{"type":"string","pattern":"^[0-9]+(\\.[0-9]+)?$","description":"Custom developer fee percentage for the quote"}}},{"title":"By Destination Amount","properties":{"source_token":{"type":"string","enum":["usdc","usdt","eurc"],"description":"The token to transfer from"},"source_network":{"type":"string","enum":["polygon","ethereum","solana","base","arbitrum","tron"],"description":"The blockchain network for the source token"},"destination_amount":{"type":"string","pattern":"^[0-9]+(\\.[0-9]+)?$","description":"The amount of destination token to receive (required when calculating quote from destination to source)"},"destination_token":{"type":"string","enum":["usdc","usdt","eurc"],"description":"The token to transfer to"},"destination_network":{"type":"string","enum":["polygon","ethereum","solana","base","arbitrum","tron"],"description":"The blockchain network for the destination token"},"developer_fee_percent":{"type":"string","pattern":"^[0-9]+(\\.[0-9]+)?$","description":"Custom developer fee percentage for the quote"}}}],"description":"Either source_amount OR destination_amount must be provided to calculate the quote in the desired direction"}}}},"responses":{"201":{"description":"Quote created successfully","content":{"application/json":{"schema":{"type":"object","required":["quote_id","source_amount","source_token","source_network","destination_token","destination_network","destination_amount","exchange_rate"],"properties":{"quote_id":{"type":"string","format":"uuid"},"source_amount":{"type":"string","pattern":"^[0-9]+(\\.[0-9]+)?$"},"source_token":{"type":"string","enum":["usdc","usdt","eurc"]},"source_network":{"type":"string","enum":["polygon","ethereum","solana","base","arbitrum","tron"]},"destination_token":{"type":"string","enum":["usdc","usdt","eurc"]},"destination_network":{"type":"string","enum":["polygon","ethereum","solana","base","arbitrum","tron"]},"destination_amount":{"type":"string","pattern":"^[0-9]+(\\.[0-9]+)?$"},"fee_amount":{"type":"string","pattern":"^[0-9]+(\\.[0-9]+)?$","description":"The total fee amount for the cross-chain transfer, denominated in the source token"},"exchange_rate":{"type":"string","pattern":"^[0-9]+(\\.[0-9]+)?$"}}}}}}}}}}}
```


---

# 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.alignlabs.dev/align-api/cross-chain-transfers/create-quote.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.
