Hạn mức sử dụng
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.
lôGet
Phiên bản API AMP của Google này có giới hạn mặc định là 10 truy vấn mỗi 100 giây.
API hiện đang miễn phí (xem phần Giá).
Đối với phương thức batchGet
, mỗi giới hạn là 50 URL AMP mỗi lần bạn gọi phương thức này.
cập nhật bộ nhớ đệm
Đối với yêu cầu update-cache
, giới hạn mặc định là 10 yêu cầu mỗi giây đối với một tên máy chủ cụ thể.
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: 2023-08-30 UTC.
[null,null,["Cập nhật lần gần đây nhất: 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."]]