# Data APIs

## Overview

The AlphaGeo API suite offers powerful tools to access climate risk scoring data for global locations programmatically. With these APIs, you can seamlessly integrate climate risk information into your applications, enabling data-driven decision-making and risk assessment.

The AlphaGeo APIs are structured into three primary services: Scores, Physical Risk, and Resilience-adjusted Risk. Each service provides distinct capabilities tailored to address specific climate risk assessment needs.

<table data-view="cards"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td></td><td><a href="/pages/ruWTIOw8bDrkE4lh1MZy"><strong>Climate Risk Scores API</strong></a></td><td></td><td><a href="/pages/ruWTIOw8bDrkE4lh1MZy">/pages/ruWTIOw8bDrkE4lh1MZy</a></td></tr><tr><td></td><td><a href="/pages/PalaMM5XLXs00lxosXTT"><strong>Physical Risk API</strong></a></td><td></td><td><a href="/pages/PalaMM5XLXs00lxosXTT">/pages/PalaMM5XLXs00lxosXTT</a></td></tr><tr><td></td><td><a href="/pages/gF5QZSTzxBLYfYZvGT9M"><strong>Resilience-adjusted Risk API</strong></a></td><td></td><td><a href="/pages/gF5QZSTzxBLYfYZvGT9M">/pages/gF5QZSTzxBLYfYZvGT9M</a></td></tr><tr><td><a href="/pages/7ke9xacHlumWT6Hq5Kfi"><strong>Financial Impact API</strong></a></td><td></td><td></td><td><a href="/pages/7ke9xacHlumWT6Hq5Kfi">/pages/7ke9xacHlumWT6Hq5Kfi</a></td></tr></tbody></table>

## Access Tokens

To access AlphaGeo APIs, you need to obtain an access token. Access tokens are unique identifiers that grant you permission to use our services. Follow these steps to obtain and use your access token:

**Sign Up or Log In**

If you haven't already, [sign up for an AlphaGeo account](/platform-guides/trial.md). If you already have an account, log in to the AlphaGeo dashboard. (You will need an [Enterprise Subscription](/pricing/pricing-guide.md) to access this feature!)

#### Ensure you have adequate in-app permissions

You can easily check this in your account. Once logged in, navigate to the upper right-hand corner of the dashboard.

<figure><img src="/files/zoNyII4VhVqHBRLFgdFB" alt=""><figcaption></figcaption></figure>

**Get Access Token**

Copy the token found upon clicking "API" in the upper-right section of your account. Treat this token as sensitive information and keep it secure.<br>

<br>

<figure><img src="/files/D7FviFXzEFla4bBmX7KV" alt=""><figcaption></figcaption></figure>

**Use Access Token in Requests**

In your API requests, include the access token in the headers. Add an Authorization header with the value "\[your\_access\_token]". Replace "\[your\_access\_token]" with the actual access token you obtained.

<pre class="language-bash"><code class="lang-bash"><strong>$ curl -X GET \
</strong>  'https://app.alphageo.ai/api/public/v1/physical_risk/?address=New+York&#x26;period=2050&#x26;scenario=SSP585&#x26;longitude=-74.0059&#x26;latitude=40.7128' \
  -H 'Authorization: 123xxxx'
</code></pre>

**Refresh Token (Optional)**

we recommend that clients routinely "refresh" their token as an added security measure.

<figure><img src="/files/Vzi4a61CoGM0NfoFKSse" alt=""><figcaption></figcaption></figure>

## Rate Limits

Every interaction with AlphaGeo APIs is subject to rate limits, which restrict the number of requests allowed per endpoint. These limits are in place to ensure fair usage and maintain system performance. Here's what you need to know about rate limits:

**What Happens If You Exceed the Limit?**

If you exceed the rate limit, you'll receive an HTTP 429 Too Many Requests response from the API. This response indicates that your request cannot be processed immediately due to exceeding the allowed rate.

| API                      | Default requests per minute |
| ------------------------ | --------------------------- |
| Scores                   | 60 requests per minute      |
| Physical Risk            | 60 requests per minute      |
| Resilience-adjusted Risk | 60 requests per minute      |
| Analytics                | 60 requests per minute      |

**Need a Higher Limit?**

If your application requires a higher rate limit than the default – don't worry! Simply reach out to our dedicated [support team](mailto:support@alphageo.ai), and we'll be happy to assist you.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.alphageo.ai/for-developers/alphageo-data-api.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
