Domande frequenti sull'API Pollen
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Esiste un limite di frequenza per l'API?
Per l'API Pollen, è previsto un limite di frequenza predefinito di 6000 query al minuto.
Devo abilitare la fatturazione?
Per utilizzare l'API Pollen è necessario un account di fatturazione valido. Consulta Attivare la fatturazione per configurare il progetto con un account di fatturazione.
Che cosa succede se interrogo una località non supportata?
Se la latitudine e la longitudine non sono incluse nell'elenco dei paesi
supportati, la risposta restituirà un codice di errore 400
con il messaggio "Le informazioni non sono disponibili per questa località. Prova
con un'altra posizione".
Cosa succede se la pianta non ha dati sul polline, ma è supportata nel paese?
Nei casi in cui non sono presenti dati sul polline per la località e la data selezionate, la
risposta include il codice pianta e il nome visualizzato per tutte le piante coperte nella
località richiesta senza altri campi di dati. Ad esempio:
"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"
}
{
...
}
]
}
]
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2025-08-31 UTC.
[null,null,["Ultimo aggiornamento 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```"]]