Activate
The Activate section provides the code and tools you need to launch Search.gov on your website.
- Code snippets — Insert these code snippets in your website to connect your search box to our service.
- Search results API instructions and access key — Documentation for our JSON results API, which allows you to display our search results in your own website’s template. You will also implement our Click tracking API.
- Click tracking API instructions — Documentation for our JSON clicks API, which allows you to send us click activity from your website’s API-driven results page, and allows us to complete your search analytics and use page activity as a ranking factor.
The APIs are available for use on official government websites only. You must be a Search.gov customer. Sign in is required. Keys and instructions for each can be found under Admin Center > YourSite > Activate Search.