---
title: "Get pool config keys by fee claimer vaults"
method: POST
path: "/token-launch/state/pool-config"
tags: ["State"]
---

# Get pool config keys by fee claimer vaults

`POST /token-launch/state/pool-config`

## Request

- Base URL: `https://public-api-v2.bags.fm/api/v1`
- URL: `https://public-api-v2.bags.fm/api/v1/token-launch/state/pool-config`
- Auth: API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/bags/apis/bags-public-api-v2/docs/token-launch/state/pool-config/post.ts> (a function with typed inputs; its response is checked against the schema)

Given a list of fee claimer vault public keys, returns the first Meteora DBC pool config key for each if present.

WARNING: This function will assume there is only one config key for a fee claimer vault. If this is used for non bags-fee-share fee claimer vault, it will return the first config key found.

## Request body

- GetPoolConfigKeyByFeeClaimerVaultRequest
  - `feeClaimerVaults` string[], required: List of fee claimer vault public keys to query

## Response `200`

Successfully retrieved pool config keys

- object
  - `success` boolean, required
  - `response` object
    - `poolConfigKeys` string[], required: Array aligned with input fee claimer vaults, containing first found pool config keys when present

## Other responses

- `400`: Bad request - Invalid parameters
- `401`: Unauthorized - Invalid or missing API key
- `500`: Internal server error

---

[API](https://skmtc.dev/bags/apis/bags-public-api-v2.md) - [All operations](https://skmtc.dev/bags/apis/bags-public-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/bags/apis/bags-public-api-v2/revisions/4a14b82cd39d?raw)
