---
title: "Get estimated transaction fees"
method: GET
path: "/main/auto-fee"
tags: ["Main"]
---

# Get estimated transaction fees

`GET /main/auto-fee`

Retrieve estimated on-chain costs (lamports). Cached 60 seconds.

## Response `200`

Success

- object — Common response envelope. The `data` field is supplied by each endpoint's response schema via `allOf` and is therefore not declared on the base envelope.
  - `id` string, required — Request ID (UUID)
  - `success` boolean, required — Whether the request was successful
  - `msg` string — Error message if success is false
  - `data` object

---

[API](https://skmtc.net/raydium/apis/api-v1-v2-legacy.md) · [All operations](https://skmtc.net/raydium/apis/api-v1-v2-legacy/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/raydium/api-v1-v2-legacy/revisions/cca93975de95/schema)
