Standardized, high-availability allergy data API to help enterprises integrate allergy alerting capabilities
Get your API keyGlobal coverage with grid-level precision
Concentrations updated every hour
High-resolution spatial granularity
Pollen, dust mite, fungi & more
Three steps to your first call. Most integrations are live in under a day.
Register at the developer portal and generate a key. The free tier allows 150 requests per day and needs no payment method.
Every endpoint shares the same host, the same X-API-Key header, and the same response envelope — only the path and parameters change.
Copy the cURL example below, replace the placeholder key, and you get structured allergen data back in a single request.
Every request must carry an API key in the X-API-Key request header. Keys are scoped to the endpoints your account is subscribed to, so a valid key can still be rejected on an endpoint you have not subscribed to.
X-API-Key: YOUR_API_KEY
{
"code": 401,
"msg": "API Key 无效或已停用",
"data": null
}
The example above is the verbatim response — error messages are currently returned in Chinese. A localized msg is on the roadmap; branch on the numeric code field, not on the message text.
Returns the concentration and allergy index for one allergen type at a given coordinate, resolved to the 10×10 km grid cell containing that point. The {type} path segment selects the allergen — pollen and dustmite are the most widely used; the full list is available in the developer portal.
https://api.allercast.cn/v1/global/grid/allergens/pollen?longitude=116.4074&latitude=39.9042&lang=en
| Parameter Name | Type | Required | Description |
|---|---|---|---|
type |
String | Yes | Allergen type, supplied as a path segment. pollen and dustmite are the most widely used. |
longitude |
Number | Yes | Longitude, range -180 ~ 180 |
latitude |
Number | Yes | Latitude, range -90 ~ 90 |
lang |
String | Yes | Response language. v1 supports en only. |
{
"code": 0,
"msg": "success",
"data": {
"regionCode": "CHN",
"dailyInfo": [
{
"date": { "year": 2026, "month": 10, "day": 19 },
"todayAllergy": {
"level": 3,
"precision": 2.4,
"prompt": "Likely to trigger pollen allergy symptoms",
"suggestList": [
"Wear a mask outdoors",
"Keep windows closed"
],
"populationDensity": 112.346,
"unit": "grains/m³",
"allergyList": [
{
"code": "P01",
"name": "Pine",
"latinName": "Pinus",
"value": 2,
"populationDensity": 56.173,
"unit": "grains/m³",
"category": "Low"
}
]
}
}
]
}
}
Get designated city/country allergy risk level, core allergen concentration and influencing factors
Copy the endpoint, paste into your request, and receive structured allergen data in seconds.
# Pollen concentration for a coordinate in Beijing curl -X GET "https://api.allercast.cn/v1/global/grid/allergens/pollen?longitude=116.4074&latitude=39.9042&lang=en" \\ -H "X-API-Key: YOUR_API_KEY"
import requests url = "https://api.allercast.cn/v1/global/grid/allergens/pollen" params = { "longitude": 116.4074, "latitude": 39.9042, "lang": "en" } headers = { "X-API-Key": "YOUR_API_KEY" } resp = requests.get(url, params=params, headers=headers) print(resp.json())
const url = "https://api.allercast.cn/v1/global/grid/allergens/pollen?longitude=116.4074&latitude=39.9042&lang=en"; const resp = await fetch(url, { method: "GET", headers: { "X-API-Key": "YOUR_API_KEY" } }); const data = await resp.json(); console.log(data);
Full API reference, interactive documentation, and real-time testing tools.
Tiered progressive pricing — each tier rate applies only to requests within that tier. The more you use, the lower the marginal rate.
Free tier: 150 requests per day, per user (~4,500/month) — no credit card required. Overage is billed at the rates below.
| Monthly Requests (per tier) | Rate (per 1,000 requests) | Cumulative Monthly Cost |
|---|---|---|
| 0 – 100,000 | $6.00 | $0 – $600 |
| 100,001 – 500,000 | $5.00 | $600 – $2,600 |
| 500,001 – 1,000,000 | $2.50 | $2,600 – $3,850 |
| 1,000,001 – 5,000,000 | $0.60 | $3,850 – $6,250 |
| 5,000,000+ | $0.30 | $6,250+ |
Pricing is progressive: each tier rate applies only to the requests that fall within that tier — not to your entire volume. Need a custom plan? Contact our sales team for enterprise pricing.