Câu hỏi thường gặp về API phấn hoa
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Có giới hạn về tốc độ trên API không?
Đối với Pollen API, giới hạn mặc định về tốc độ là 6.000 truy vấn mỗi phút.
Tôi có phải bật tính năng thanh toán không?
Bạn phải có tài khoản thanh toán hợp lệ để sử dụng Pollen API. Hãy xem phần Bật tính năng thanh toán để thiết lập dự án bằng tài khoản thanh toán.
Điều gì sẽ xảy ra nếu tôi truy vấn một vị trí không được hỗ trợ?
Nếu vĩ độ và kinh độ không nằm trong danh sách quốc gia được hỗ trợ, thì phản hồi sẽ trả về mã lỗi 400 kèm theo thông báo "Không có thông tin cho vị trí này. Vui lòng thử một vị trí khác".
Điều gì xảy ra nếu cây không có dữ liệu phấn hoa nhưng được hỗ trợ ở quốc gia đó?
Trong trường hợp không có dữ liệu phấn hoa cho vị trí và ngày đã chọn, phản hồi sẽ bao gồm mã thực vật và tên hiển thị cho tất cả các loài thực vật có ở vị trí được yêu cầu mà không có trường dữ liệu nào khác. Ví dụ:
"dailyInfo": [
{
"date": {
"year": 2023,
"month": 6,
"day": 22
},
"pollenTypeInfo": [
{
"code": "GRASS",
"displayName": "Grass"
},
{
"code": "TREE",
"displayName": "Tree"
},
{
"code": "WEED",
"displayName": "Weed"
}
],
"plantsInfo": [
{
"code": "HAZEL",
"displayName": "Hazel"
}
{
...
}
]
}
]
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-08-31 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-08-31 UTC."],[[["\u003cp\u003eThe Pollen API has a rate limit of 6,000 queries per minute and requires a valid billing account for usage.\u003c/p\u003e\n"],["\u003cp\u003eRequests for unsupported locations result in a 400 error, while requests for supported locations with missing pollen data return plant codes and display names without other data fields.\u003c/p\u003e\n"]]],["The Pollen API has a default rate limit of 6,000 queries per minute, and a valid billing account is required for use. Querying unsupported locations results in a 400 error. If a location lacks pollen data but is within a supported country, the API returns the plant codes and display names without other data, such as pollen levels or counts. The response format shows date, plant type code, and display name.\n"],null,["# Pollen API FAQ\n\nIs there a rate limit on the API?\n---------------------------------\n\nFor Pollen API, there is a default rate limit of 6,000 queries per\nminute.\n\nDo I have to enable billing?\n----------------------------\n\nA valid billing account is required to use the Pollen API. See [Enable\nbilling](/maps/documentation/pollen/cloud-setup#billing) to set up your project with a billing account.\n\nWhat happens if I query a location that is not supported?\n---------------------------------------------------------\n\nIf the latitude and longitude are not covered in the [supported country\nlist](/maps/documentation/pollen/coverage), the response will return a 400 error\ncode with the message, \"Information is unavailable for this location. Please try\na different location.\"\n\nWhat happens if the plant has no pollen data but is supported in the country?\n-----------------------------------------------------------------------------\n\nIn cases where there is no pollen data for the selected location and date, the\nresponse includes the plant code and display name for all plants covered in the\nrequested location with no other data fields. For example: \n\n```json\n\"dailyInfo\": [\n {\n \"date\": {\n \"year\": 2023,\n \"month\": 6,\n \"day\": 22\n },\n \"pollenTypeInfo\": [\n {\n \"code\": \"GRASS\",\n \"displayName\": \"Grass\"\n },\n {\n \"code\": \"TREE\",\n \"displayName\": \"Tree\"\n },\n {\n \"code\": \"WEED\",\n \"displayName\": \"Weed\"\n }\n ],\n \"plantsInfo\": [\n {\n \"code\": \"HAZEL\",\n \"displayName\": \"Hazel\"\n }\n {\n ...\n }\n ]\n }\n]\n```"]]