# Bags API Documentation ## Docs - [Complete Agent Authentication Callback](https://docs.bags.fm/api-reference/agent-auth-callback.md): Submit either a wallet signature callback payload or an MFA callback payload to receive an API key. - [Initialize Agent Authentication](https://docs.bags.fm/api-reference/agent-auth-init.md): Generate a signable challenge message and nonce for wallet-signature based agent authentication. - [Create Dexscreener Order](https://docs.bags.fm/api-reference/create-dexscreener-order.md): Create a Dexscreener token info order. Returns a payment transaction that must be signed and submitted. - [Create Fee Share Admin Transfer Transaction](https://docs.bags.fm/api-reference/create-fee-share-admin-transfer-tx.md): Creates a transaction to transfer fee share admin authority from the current admin to a new admin for a given token. - [Create Fee Share Admin Update Config](https://docs.bags.fm/api-reference/create-fee-share-admin-update-config.md): Creates transactions to update the fee share configuration for a token. Allows the admin to change the fee claimers and their basis point allocations. - [Create Fee Share Config creation transaction](https://docs.bags.fm/api-reference/create-fee-share-configuration.md): Create a fee sharing config with multiple fee claimers (up to 100). Token Launches require fee sharing configuration for all token launches. All fees must be explicitly allocated using basis points. When there are more than 15 fee claimers, lookup tables are required. - [Submit Incorporation Details](https://docs.bags.fm/api-reference/create-incorporation.md): Submits incorporation details after payment has been completed. Registers the project with its founders, company name preferences, and category. - [Create Incorporation Payment](https://docs.bags.fm/api-reference/create-incorporation-payment.md): Initiates a payment for token incorporation. Returns a pre-built transaction that must be signed and submitted on-chain. - [Create Partner Config](https://docs.bags.fm/api-reference/create-partner-configuration.md): Get a transaction to create a partner key (partner config) for fee sharing. Only one partner key can be created per wallet. - [Create Swap Transaction](https://docs.bags.fm/api-reference/create-swap-transaction.md): Create a swap transaction from a trade quote. The transaction is ready to be signed and sent. - [Create Token Info and Metadata](https://docs.bags.fm/api-reference/create-token-info.md): Create token information with image upload and generate a token mint that can be used to launch a token - [Create Token Launch Transaction](https://docs.bags.fm/api-reference/create-token-launch-transaction.md): Create a token launch transaction (already signed with token mint) - [Get Current User Info](https://docs.bags.fm/api-reference/get-auth-me.md): Returns information about the user that owns the provided public API key. - [Get Bags Pool by Token Mint](https://docs.bags.fm/api-reference/get-bags-pool-by-token-mint.md): Retrieve a single Bags pool by its token mint address, with its associated Meteora DBC and DAMM v2 pool keys - [Get Bags Pools](https://docs.bags.fm/api-reference/get-bags-pools.md): Retrieve a list of all Bags pools with their associated Meteora DBC and DAMM v2 pool keys - [Get Claim Transactions (v3)](https://docs.bags.fm/api-reference/get-claim-transactions-v3.md): Generate transactions to claim fees for a token. This simplified v3 endpoint automatically handles all fee claiming logic based on the token state. - [Get Claimable Positions](https://docs.bags.fm/api-reference/get-claimable-positions.md): Retrieve all claimable fee positions for a wallet. Returns positions with fee information from virtual pools and DAMM v2. - [Check Dexscreener Order Availability](https://docs.bags.fm/api-reference/get-dexscreener-order-availability.md): Check whether a Dexscreener token info order is available for a given token. - [Get Fee Share Admin List](https://docs.bags.fm/api-reference/get-fee-share-admin-list.md): Returns a list of token mints where the given wallet is the fee share admin. - [Get Fee Share Wallet V2](https://docs.bags.fm/api-reference/get-fee-share-wallet.md): Get wallet address associated with a social provider and username for fee sharing - [Get Fee Share Wallet V2 (Bulk)](https://docs.bags.fm/api-reference/get-fee-share-wallet-bulk.md): Bulk lookup of wallet addresses associated with social providers and usernames for fee sharing - [Get Incorporation Project Details](https://docs.bags.fm/api-reference/get-incorporation-details.md): Retrieves details for a specific incorporation project by token address. - [List Incorporation Projects](https://docs.bags.fm/api-reference/get-incorporation-list.md): Lists all incorporation projects associated with the authenticated API key. - [Create Partner Claim Transactions](https://docs.bags.fm/api-reference/get-partner-claim-transactions.md): Generate transactions to claim accumulated partner fees - [Get Partner Stats](https://docs.bags.fm/api-reference/get-partner-stats.md): Retrieve partner statistics including claimed and unclaimed fees for a given partner - [Get Pool Config Keys by Fee Claimer Vaults](https://docs.bags.fm/api-reference/get-pool-config-keys.md): Given a list of fee claimer vault public keys, returns the first Meteora DBC pool config key for each if present. - [Get Token Claim Events](https://docs.bags.fm/api-reference/get-token-claim-events.md): Retrieve claim events for a specific token. Supports two query modes: - [Get Token Claim Stats](https://docs.bags.fm/api-reference/get-token-claim-stats.md): Retrieve claim statistics for all fee claimers of a specific token, including total claimed amounts per user. - [Get Token Launch Creators](https://docs.bags.fm/api-reference/get-token-launch-creators.md): Retrieve the creators/deployers of a specific token launch. Use the 'provider' field to show a platform logo in your UI, and prefer 'providerUsername' for display when present since 'username' is a Bags internal username and optional. - [Get Token Launch Feed](https://docs.bags.fm/api-reference/get-token-launch-feed.md): Retrieve the token launch feed containing recent and active token launches with their current status. - [Get Token Lifetime Fees](https://docs.bags.fm/api-reference/get-token-lifetime-fees.md): Retrieve the total lifetime fees collected for a specific token - [Get Trade Quote](https://docs.bags.fm/api-reference/get-trade-quote.md): Get a quote for swapping tokens. Returns expected output amount, price impact, slippage, and route plan. - [API Reference](https://docs.bags.fm/api-reference/introduction.md): Complete documentation for all Bags API endpoints - [Send Transaction](https://docs.bags.fm/api-reference/send-transaction.md): Submit a signed Bags Solana transaction to the network for execution. - [Start Incorporation Process](https://docs.bags.fm/api-reference/start-incorporation.md): Triggers the incorporation process for a token once all prerequisites (KYC, forms, etc.) are met. - [Submit Dexscreener Payment](https://docs.bags.fm/api-reference/submit-dexscreener-payment.md): Submit the signed payment transaction for a Dexscreener order. - [Changelog](https://docs.bags.fm/changelog/changelog.md): Product updates and announcements - [CLI Command Reference](https://docs.bags.fm/cli/command-reference.md): Complete reference for every Bags CLI command, subcommand, flag, and option - [Install and Set Up the Bags CLI](https://docs.bags.fm/cli/install-and-setup.md): Install the Bags CLI, configure your wallet and RPC, authenticate, and start using terminal-based workflows - [Quickstart: Launch a Token](https://docs.bags.fm/cli/quickstart-token-launch.md): Go from zero to a live token on Solana in three commands using the Bags CLI - [Do I need a Solana wallet to use the API?](https://docs.bags.fm/faq/do-i-need-wallet.md): Learn about wallet requirements for using the Bags API - [How do I get an API key?](https://docs.bags.fm/faq/how-to-get-api-key.md): Step-by-step guide to obtaining your Bags API key - [How to display social profile on token page?](https://docs.bags.fm/faq/linking-wallets.md): Learn how to link your wallet to Bags to display your identity when creating tokens via API - [What are the rate limits?](https://docs.bags.fm/faq/what-are-rate-limits.md): Understanding Bags API rate limits and how to monitor usage - [What is the Bags API?](https://docs.bags.fm/faq/what-is-bags-api.md): Learn about the Bags API and what it allows you to do - [Agent Authentication and Skill Workflow](https://docs.bags.fm/how-to-guides/agent-authentication.md): How AI agents authenticate with wallet signatures, obtain API keys, and use the Bags skill endpoint workflow - [Claim Token Fees](https://docs.bags.fm/how-to-guides/claim-fees.md): Complete guide to claim fees for a token using the Bags API with TypeScript and Node.js - [Claim Partner Fees](https://docs.bags.fm/how-to-guides/claim-partner-fees.md): Complete guide to claim fees from partner configurations using the Bags Dev Dashboard or SDK - [Create a Launch Intent URL](https://docs.bags.fm/how-to-guides/create-launch-intent.md): Build shareable launch intent URLs that pre-fill the Bags /launch form and embed them as buttons on any webpage - [Create Partner Key](https://docs.bags.fm/how-to-guides/create-partner-key.md): Complete guide to create a partner key for fee sharing using the Bags Dev Dashboard or SDK - [Customize Token Fees](https://docs.bags.fm/how-to-guides/customize-token-fees.md): Learn how to configure different fee structures for your token launch using Bags config types - [Get Token Claim Events](https://docs.bags.fm/how-to-guides/get-token-claim-events.md): Learn how to retrieve claim events for a token using both offset pagination and time-based filtering - [Get Token Creators](https://docs.bags.fm/how-to-guides/get-token-creators.md): Learn how to retrieve token launch creators/deployers with provider details using the Bags TypeScript SDK and Node.js - [Get Token Lifetime Fees](https://docs.bags.fm/how-to-guides/get-token-lifetime-fees.md): Learn how to retrieve the total lifetime fees earned by a Solana token using the Bags API with TypeScript and Node.js - [Incorporate a Token](https://docs.bags.fm/how-to-guides/incorporate-token.md): Complete guide to incorporate a company for a token using the Bags SDK with TypeScript and Node.js - [Initial Buy Math](https://docs.bags.fm/how-to-guides/initial-buy-math.md): Calculate how many tokens you receive for your initial buy using the Meteora Dynamic Bonding Curve SDK - [Launch a Token](https://docs.bags.fm/how-to-guides/launch-token.md): Complete step-by-step guide to launch a Solana token using the Bags API v2 with TypeScript and Node.js - [Trade Tokens](https://docs.bags.fm/how-to-guides/trade-tokens.md): Complete guide to get trade quotes and execute token swaps using the Bags API with TypeScript and Node.js - [Set Up a TypeScript & Node.js Project](https://docs.bags.fm/how-to-guides/typescript-node-setup.md): Follow these steps to set up a TypeScript and Node.js project for interacting with the Bags API. - [Bags API Documentation](https://docs.bags.fm/index.md): Build powerful applications with the Bags API - get started with authentication, rate limits, and your first API call - [API Key Management](https://docs.bags.fm/principles/api-key-management.md): Best practices for creating, organizing, and securing your API keys - [Base URL & Versioning](https://docs.bags.fm/principles/base-url-versioning.md): API endpoint structure and versioning information - [Error Handling](https://docs.bags.fm/principles/error-handling.md): Understanding API error responses and status codes - [File Upload Support](https://docs.bags.fm/principles/file-uploads.md): How to upload images and files through the Bags API - [Address Lookup Tables (LUTs)](https://docs.bags.fm/principles/lookup-tables.md): Public LUTs maintained by Bags and how to use them - [Program IDs](https://docs.bags.fm/principles/program-ids.md): Solana programs used by Bags and where to find their IDLs - [Rate Limits](https://docs.bags.fm/principles/rate-limits.md): Understanding API rate limits and monitoring usage - [Priority Fees and Tips](https://docs.bags.fm/principles/tipping.md): How to optionally add tips to supported endpoints ## OpenAPI Specs - [openapi](https://docs.bags.fm/api-reference/openapi.json)