# FRED Category Related Tags API

[Tools](/tools) / [Finance And Markets](/tools/category/finance-and-markets) / [FRED Category Related Tags](/tools/fred/category-related-tags)

{&quot;methods&quot;:\[{&quot;methodType&quot;:&quot;GET&quot;,&quot;methodDesc&quot;:&quot;Get the related FRED tags for one or more FRED tags within a category.&quot;,&quot;requestParams&quot;:\[{&quot;name&quot;:&quot;categoryid&quot;,&quot;type&quot;:&quot;integer&quot;,&quot;required&quot;:true,&quot;description&quot;:&quot;The id for a category.&quot;},{&quot;name&quot;:&quot;realtimestart&quot;,&quot;type&quot;:&quot;string&quot;,&quot;required&quot;:false,&quot;description&quot;:&quot;YYYY-MM-DD formatted string.&quot;},{&quot;name&quot;:&quot;realtimeend&quot;,&quot;ty

Data from [FRED](/providers/fred).

Category: [Finance And Markets](/tools/category/finance-and-markets)

## Price

$0.0001 per successful call ≈ 10,000 calls with the $1 signup credit.

Input schema is not available in the local snapshot. Call inspect first; fill body and queryParams as required and replace any pathParams placeholders before running.

## Discover

```sh
curl https://keepbal.com/apis/v1/discover -H 'Authorization: Bearer YOUR_KEEPBAL_KEY' -H 'Content-Type: application/json' -d '{"query":"FRED"}'
```

## Inspect

```sh
curl https://keepbal.com/apis/v1/inspect -H 'Authorization: Bearer YOUR_KEEPBAL_KEY' -H 'Content-Type: application/json' -d '{"publicId":"fred/category-related-tags"}'
```

## curl

```sh
curl https://keepbal.com/apis/v1/fred/category-related-tags \
  -H 'Authorization: Bearer YOUR_KEEPBAL_KEY' \
  -H 'Content-Type: application/json' \
  -d '{}'
```

## MCP run_tool

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "run_tool",
    "arguments": {
      "tool": "fred/category-related-tags",
      "input": {}
    }
  }
}
```

## Python

```python
import json, os, requests

# Inspect first and replace input_data with the required parameters.
input_data = json.loads("{}")
response = requests.post(
    "https://keepbal.com/apis/v1/fred/category-related-tags",
    headers={"Authorization": "Bearer " + os.environ["KEEPBAL_API_KEY"]},
    json=input_data,
)
response.raise_for_status()
print(response.json())
```

## Errors and billing

Failed provider calls are not charged. HTTP 400 invalid_request means invalid JSON or parameters, including missing pathParams. HTTP 401 missing_api_key or invalid_api_key means authentication is required. HTTP 402 insufficient_credits means insufficient balance; top up before retrying. HTTP 503 provider_unavailable means the provider is unavailable. A pending run can settle later; poll GET /apis/v1/runs/{id} instead of starting another execution.

## How much does this API cost?

$0.0001 per successful call

## How do I start?

Create a KeepBal account with $1 free credit, obtain an API key, and inspect this tool before running it.

## Related tools

- [FRED Category Children](/tools/fred/category-children) — {&quot;methods&quot;:\[{&quot;methodType&quot;:&quot;GET&quot;,&quot;methodDesc&quot;:&quot;Get the child categories for a specified parent category.&quot;,&quot;requestParams&quot;:\[{&quot;name&quot;:&quot;categoryid&quot;,&quot;type&quot;:&quot;integer&quot;,&quot;required&quot;:false,&quot;description&quot;:&quot;The id for a category. Default: 0 \(root category\).&quot;},{&quot;name&quot;:&quot;realtimestart&quot;,&quot;type&quot;:&quot;string&quot;,&quot;required&quot;:false,&quot;description&quot;:&quot;YYYY-MM-DD formatted string. Default: tod — $0.0001 per successful call
- [FRED Category Related](/tools/fred/category-related) — {&quot;methods&quot;:\[{&quot;methodType&quot;:&quot;GET&quot;,&quot;methodDesc&quot;:&quot;Get the related categories for a category. A related category is a one-way relation between 2 categories that is not part of a parent-child category hierarchy.&quot;,&quot;requestParams&quot;:\[{&quot;name&quot;:&quot;categoryid&quot;,&quot;type&quot;:&quot;integer&quot;,&quot;required&quot;:true,&quot;description&quot;:&quot;The id for a category.&quot;},{&quot;name&quot;:&quot;realtimestart&quot;,&quot;type&quot;:&quot;string&quot;, — $0.0001 per successful call
- [FRED Category Series](/tools/fred/category-series) — {&quot;methods&quot;:\[{&quot;methodType&quot;:&quot;GET&quot;,&quot;methodDesc&quot;:&quot;Get the series in a category.&quot;,&quot;requestParams&quot;:\[{&quot;name&quot;:&quot;categoryid&quot;,&quot;type&quot;:&quot;integer&quot;,&quot;required&quot;:true,&quot;description&quot;:&quot;The id for a category.&quot;},{&quot;name&quot;:&quot;realtimestart&quot;,&quot;type&quot;:&quot;string&quot;,&quot;required&quot;:false,&quot;description&quot;:&quot;YYYY-MM-DD formatted string.&quot;},{&quot;name&quot;:&quot;realtimeend&quot;,&quot;type&quot;:&quot;string&quot;,&quot;required&quot;:false,&quot;descriptio — $0.0001 per successful call
- [FRED Category Tags](/tools/fred/category-tags) — {&quot;methods&quot;:\[{&quot;methodType&quot;:&quot;GET&quot;,&quot;methodDesc&quot;:&quot;Get the FRED tags for a category. Optionally filter by tag name, tag group, or search.&quot;,&quot;requestParams&quot;:\[{&quot;name&quot;:&quot;categoryid&quot;,&quot;type&quot;:&quot;integer&quot;,&quot;required&quot;:true,&quot;description&quot;:&quot;The id for a category.&quot;},{&quot;name&quot;:&quot;realtimestart&quot;,&quot;type&quot;:&quot;string&quot;,&quot;required&quot;:false,&quot;description&quot;:&quot;YYYY-MM-DD formatted string.&quot;},{&quot;name&quot;:&quot;r — $0.0001 per successful call
- [FRED Related Tags](/tools/fred/related-tags) — {&quot;methods&quot;:\[{&quot;methodType&quot;:&quot;GET&quot;,&quot;methodDesc&quot;:&quot;Get the related FRED tags for one or more FRED tags.&quot;,&quot;requestParams&quot;:\[{&quot;name&quot;:&quot;realtimestart&quot;,&quot;type&quot;:&quot;string&quot;,&quot;required&quot;:false,&quot;description&quot;:&quot;YYYY-MM-DD formatted string.&quot;},{&quot;name&quot;:&quot;realtimeend&quot;,&quot;type&quot;:&quot;string&quot;,&quot;required&quot;:false,&quot;description&quot;:&quot;YYYY-MM-DD formatted string.&quot;},{&quot;name&quot;:&quot;tagnames&quot;,&quot;type&quot;:&quot;string&quot;,&quot; — $0.0001 per successful call
- [FRED Release](/tools/fred/release) — {&quot;methods&quot;:\[{&quot;methodType&quot;:&quot;GET&quot;,&quot;methodDesc&quot;:&quot;Get a release of economic data.&quot;,&quot;requestParams&quot;:\[{&quot;name&quot;:&quot;releaseid&quot;,&quot;type&quot;:&quot;integer&quot;,&quot;required&quot;:true,&quot;description&quot;:&quot;The id for a release.&quot;},{&quot;name&quot;:&quot;realtimestart&quot;,&quot;type&quot;:&quot;string&quot;,&quot;required&quot;:false,&quot;description&quot;:&quot;YYYY-MM-DD formatted string.&quot;},{&quot;name&quot;:&quot;realtimeend&quot;,&quot;type&quot;:&quot;string&quot;,&quot;required&quot;:false,&quot;descriptio — $0.0001 per successful call



[Start with $1 free credit](/sign-up)

[Tools](/tools) · [MCP documentation](/docs/mcp)
