You are browsing a read-only backup copy of Wikitech. The live site can be found at

Nova Resource:Google-api-proxy/Documentation: Difference between revisions

From Wikitech-static
Jump to navigation Jump to search
(new IP)
(→‎Tools using the proxy: interwiki links)
(One intermediate revision by one other user not shown)
Line 13: Line 13:

== Tools using the proxy ==
== Tools using the proxy ==
* [ Earwig's copyvio detector] (who's API is used by [ CopyPatrol])
* [[mw:Help:Extension:Wikisource/Wikimedia OCR|Wikimedia OCR]] (when using the Google engine)
* [ Kotz' bot "BotHasava"]
* [[toolforge:copyvios|Earwig's copyvio detector]] (who's API is used by [[toolforge:copypatrol|CopyPatrol]])
* [[w:he:ויקיפדיה:בוט/בוט_ההסבה|Kotz' bot "BotHasava"]]

Latest revision as of 16:11, 5 August 2022

Google-api-proxy provides a static IP for communication with the Google Custom Search API.


  1. Get the Wikimedia Google API key from Kaldari
  2. Use instead of when interacting with Google's Custom Search JSON/Atom API.

How it works is a Cloud VPS web proxy pointing at an instance in the google-api-proxy project with a static IP address. The instance is running an Nginx web server configured as a reverse proxy. All HTTP requests sent to this proxy will be relayed to and the upstream response will be provided back to the requesting client. Details of the Nginx configuration are available in our Puppet repo's role::labs::google_api_proxy module.

API keys using this proxy will need to whitelist the IP address in the Google developer console.

Google OCR for Wikisource uses a similar proxy at that allows access to the Google Vision API.

Tools using the proxy