> ## Documentation Index
> Fetch the complete documentation index at: https://lava.so/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# IMF

> International Monetary Fund data API providing exchange rates, balance of payments, international financial statistics, and fiscal monitoring data for member countries.

International Monetary Fund data API providing exchange rates, balance of payments, international financial statistics, and fiscal monitoring data for member countries. Best for international monetary analysis, cross-border capital flow tracking, and global fiscal health assessment. Focuses on monetary and financial stability — complementary to World Bank (development indicators) and OECD (structural policy data).

2 example endpoints available through Lava's AI Gateway. See the [IMF API docs](https://datahelp.imf.org/knowledgebase/articles/667681) for full documentation.

<Info>This provider is **managed** — no additional setup required.</Info>

<Info>This is a **catch-all provider** — any valid URL under `https://www.imf.org/external/datamapper/api/v1` is supported. IMF economic data API. Construct URL as [https://www.imf.org/external/datamapper/api/v1/\&#123;endpoint\&#125](https://www.imf.org/external/datamapper/api/v1/\&#123;endpoint\&#125);. Common endpoints: /\{indicator}/\{country1}/\{country2}, /indicators, /countries. The endpoints below are curated examples.</Info>

## Endpoints

### List all available indicators

**GET** `https://www.imf.org/external/datamapper/api/v1/indicators` — Free

<Tabs>
  <Tab title="SDK">
    ```typescript theme={null}
    const data = await lava.gateway('https://www.imf.org/external/datamapper/api/v1/indicators', { method: 'GET' });
    ```
  </Tab>

  <Tab title="cURL">
    ```bash theme={null}
    curl "https://api.lava.so/v1/forward?u=https%3A%2F%2Fwww.imf.org%2Fexternal%2Fdatamapper%2Fapi%2Fv1%2Findicators" \
      -H "Authorization: Bearer $LAVA_SECRET_KEY"
    ```
  </Tab>
</Tabs>

### Query indicator data for countries

**GET** `https://www.imf.org/external/datamapper/api/v1/NGDP_RPCH/JPN/ETH` — Free

<Tabs>
  <Tab title="SDK">
    ```typescript theme={null}
    const data = await lava.gateway('https://www.imf.org/external/datamapper/api/v1/NGDP_RPCH/JPN/ETH', { method: 'GET' });
    ```
  </Tab>

  <Tab title="cURL">
    ```bash theme={null}
    curl "https://api.lava.so/v1/forward?u=https%3A%2F%2Fwww.imf.org%2Fexternal%2Fdatamapper%2Fapi%2Fv1%2FNGDP_RPCH%2FJPN%2FETH" \
      -H "Authorization: Bearer $LAVA_SECRET_KEY"
    ```
  </Tab>
</Tabs>

## Next Steps

<CardGroup cols={2}>
  <Card title="All Providers" icon="grid" href="/gateway/supported-providers">
    Browse all supported AI providers
  </Card>

  <Card title="Forward Proxy" icon="route" href="/gateway/forward-proxy">
    Learn how to construct proxy URLs and authenticate requests
  </Card>
</CardGroup>
