Limiti di utilizzo
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
batchGet
Questa versione dell'API Google AMP URL ha un limite predefinito di 10 query ogni 100 secondi.
Per il momento l'API è senza costi (vedi Prezzi).
Per il metodo batchGet
, il limite predefinito è di 50 URL AMP ogni volta che chiami questo metodo.
aggiorna-cache
Per la richiesta update-cache
, il limite predefinito è di 10 richieste al secondo per un determinato nome host.
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 2023-08-30 UTC.
[null,null,["Ultimo aggiornamento 2023-08-30 UTC."],[[["\u003cp\u003eThe Google AMP URL API, including the \u003ccode\u003ebatchGet\u003c/code\u003e method, is currently free to use.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ebatchGet\u003c/code\u003e allows fetching data for up to 50 AMP URLs per request, but overall API usage is limited to 10 queries per 100 seconds.\u003c/p\u003e\n"],["\u003cp\u003eWhen using \u003ccode\u003eupdate-cache\u003c/code\u003e, you can send a maximum of 10 requests per second for each hostname.\u003c/p\u003e\n"]]],["The Google AMP URL API's `batchGet` method allows up to 50 AMP URLs per call, with a default limit of 10 queries per 100 seconds. The `update-cache` request is limited to 10 requests per second for each host name. The API is currently free. These limitations define how frequently and extensively users can retrieve and update AMP URLs via these methods.\n"],null,["# Usage Limits\n\nbatchGet\n--------\n\nThis version of the Google AMP URL API has a default limit of 10 queries per 100 seconds.\nThe API is free for now (see [Pricing](/amp/cache/reference/pricing)).\n\nFor the [`batchGet` method](/amp/cache/reference/acceleratedmobilepageurl/rest/v1/ampUrls/batchGet),\nthe default limit is 50 AMP URLs each time you call this method.\n\nupdate-cache\n------------\n\nFor the [`update-cache` request](/amp/cache/update-cache), the default limit is 10 requests per second for a given host name."]]