Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Agen Pengguna API-Google
APIs-Google adalah agen pengguna yang digunakan oleh Google API untuk mengirimkan pesan notifikasi push.
Developer aplikasi dapat meminta notifikasi ini agar tidak perlu terus-menerus memeriksa
status server Google untuk mengetahui apakah resource yang diminati telah berubah atau tidak.
Untuk memastikan tidak ada yang menyalahgunakan layanan ini, Google mewajibkan developer untuk membuktikan bahwa mereka
adalah pemilik domain tersebut sebelum dapat mendaftarkan URL dengan domain sebagai lokasi
penerimaan pesan.
Cara APIs-Google mengakses situs Anda
APIs-Google mengirim setiap notifikasi push menggunakan permintaan HTTPS POST. Jika permintaan gagal karena
kondisi error yang mungkin bersifat sementara, APIs-Google akan mengirim ulang notifikasi. Jika
permintaan masih tidak berhasil,
APIs-Google masih akan terus mencoba lagi—berdasarkan jadwal
backoff eksponensial—maksimal hingga beberapa hari.
Laju APIs-Google mengakses situs Anda berbeda-beda tergantung jumlah permintaan notifikasi push
yang dibuat untuk server di situs Anda, kecepatan resource yang dimonitor
diperbarui, dan jumlah percobaan ulang yang terjadi. Akibatnya, pola traffic APIs-Google
mungkin konsisten di beberapa skenario, tetapi bisa saja tidak teratur atau melonjak
di skenario lain.
Menyiapkan situs Anda untuk APIs-Google
APIs-Google menggunakan HTTPS untuk mengirim notifikasi push, sehingga situs Anda harus memiliki sertifikat SSL
yang valid. Sertifikat yang Tidak valid adalah sebagai berikut:
Sertifikat yang ditandatangani sendiri.
Sertifikat yang ditandatangani oleh sumber tidak tepercaya.
Sertifikat yang telah dicabut.
Hindari permintaan percobaan ulang yang tidak perlu dengan memastikan bahwa aplikasi Anda dirancang dengan baik dan
merespons pesan notifikasi dengan tepat waktu (dalam hitungan detik).
Mencegah APIs-Google memanggil situs Anda
Untuk mencegah APIs-Google memanggil situs Anda, lakukan salah satu hal berikut:
Membatalkan pendaftaran notifikasi. Jika Anda mengelola domain yang memiliki
subdomain atau subruang URL yang pemiliknya berbeda atau dikelola secara terpisah, salah satu pemilik
subdomain mungkin telah menyiapkan aplikasi yang menggunakan notifikasi push. Jika Anda ingin memblokir
APIs-Google, hubungi orang yang mungkin menyiapkan aplikasi semacam ini dan minta mereka untuk
menonaktifkannya.
Menggunakan robots.txt. Agen pengguna yang akan ditetapkan dalam file robots.txt adalah
APIs-Google - APIs-Google tidak mengikuti aturan untuk agen pengguna Googlebot.
Mungkin ada sedikit penundaan sebelum APIs-Google menemukan perubahan file robots.txt Anda. Jika
APIs-Google terus mengirimkan pesan ke situs Anda beberapa hari setelah Anda memblokirnya di
robots.txt, pastikan robots.txt berada di lokasi yang tepat.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Informasi yang saya butuhkan tidak ada","missingTheInformationINeed","thumb-down"],["Terlalu rumit/langkahnya terlalu banyak","tooComplicatedTooManySteps","thumb-down"],["Sudah usang","outOfDate","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Masalah kode / contoh","samplesCodeIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-08-04 UTC."],[[["\u003cp\u003eAPIs-Google is a user agent utilized by Google APIs to deliver push notifications, allowing developers to receive updates without continuous server polling.\u003c/p\u003e\n"],["\u003cp\u003eAPIs-Google accesses websites using HTTPS POST requests for notifications, employing retries with exponential backoff for failed deliveries, leading to varied traffic patterns.\u003c/p\u003e\n"],["\u003cp\u003eWebsites must possess a valid SSL certificate to receive notifications and should be optimized for prompt responses to minimize unnecessary retry attempts by APIs-Google.\u003c/p\u003e\n"],["\u003cp\u003eTo prevent APIs-Google access, website owners can unregister for notifications or utilize robots.txt to block the user agent.\u003c/p\u003e\n"],["\u003cp\u003eSpoofed requests can be identified by verifying the caller's IP address through reverse DNS lookup to confirm association with googlebot.com or google.com.\u003c/p\u003e\n"]]],["APIs-Google is Google's user agent for push notifications, delivering messages via HTTPS POST requests. Developers must verify domain ownership to use this service. APIs-Google retries failed requests with exponential backoff and can create sporadic traffic. Sites need valid SSL certificates, and apps should respond quickly to avoid retries. To block APIs-Google, unregister notifications or use `APIs-Google` in robots.txt. Spoofed requests can be identified by verifying IP addresses against googlebot.com or google.com domains.\n"],null,["# APIs-Google User Agent | Google Search Central\n\nAPIs-Google user agent\n======================\n\n\nAPIs-Google is the user agent used by Google APIs to deliver push notification messages.\nApplication developers can request these notifications to avoid the need for continually\npolling Google's servers to find out if the resources they are interested in have changed.\nTo make sure nobody abuses this service, Google requires developers to prove that they own\nthe domain before allowing them to register a URL with a domain as the location where they\nwant to receive messages.\n\nHow APIs-Google accesses your site\n----------------------------------\n\n\nAPIs-Google sends each push notification using an HTTPS POST request. If the request fails due\nto an error condition that might be temporary, APIs-Google will resend the notification. If\nthe request still doesn't succeed, it will continue to retry---based on an exponential backoff\nschedule---up to a maximum of several days.\n\n\nThe rate at which APIs-Google accesses your site varies by how many push notification requests\nwere created for servers on your site, by how fast the monitored resources are getting\nupdated, and by the number of retries occurring. As a result, the APIs-Google traffic patterns\ncan be consistent in some scenarios, but in other scenarios the traffic can be sporadic or\nspiky.\n\nPrepare your site for APIs-Google\n---------------------------------\n\n\nAPIs-Google uses HTTPS to deliver push notifications, so it requires your site to have a valid\nSSL certificate. **Invalid** certificates include the following:\n\n- Self-signed certificates.\n- Certificates signed by an untrusted source.\n- Certificates that have been revoked.\n\n\nAvoid unnecessary retry requests by ensuring that your application is well-designed and\nresponds promptly to notification messages (within seconds).\n\nPrevent APIs-Google from calling your site\n------------------------------------------\n\n\nTo prevent APIs-Google from calling your site, do one of the following:\n\n- **Unregister for notifications.** If you administer a domain that has subdomains or URL subspaces that are owned or administered separately, one of the subdomain owners may have set up an application that uses push notifications. If you want to block APIs-Google, contact anyone who might have set up an application like this and ask them to disable it.\n- **Use robots.txt.** The user agent to specify in the robots.txt file is `APIs-Google` - `APIs-Google` does not follow rules for the Googlebot user agent. There may be a small delay before `APIs-Google` discovers your robots.txt file change. If `APIs-Google` continues to send messages to your site several days after you've blocked it in robots.txt, check that the robots.txt is in the correct location.\n\nVerify the caller\n-----------------\n\n\nIf you suspect that you are receiving spoofed requests, you can\n[verify that a bot accessing your server really is calling from google.com](/search/docs/crawling-indexing/verifying-googlebot).\nSearch your logs for any IP addresses identifying themselves as the\n`APIs-Google` user agent; a reverse DNS lookup shows the googlebot.com or\ngoogle.com domain."]]