A Singapore Government Agency Website

Search APIs (Beta)

The SearchSG APIs allow agencies and platform teams to programmatically access SearchSG’s semantic search, AI-powered answers, structured directory search, and recommendation capabilities.

These APIs are designed for backend server-to-server integrations.

Supported Products:

  • Website Search
  • Directory Search (Work in Progress)
  • SmartRecommend (Coming soon)

Prerequisites

Before calling the Search APIs:

  1. Follow the Admin Portal User Guide to complete:

    • Project setup
    • Index creation
    • Application creation
  2. Ensure your index content has been been successfully indexed and is searchable.

Authentication

Search APIs require a Site Access Key to authenticate requests and query applications within a site.

To generate or retrieve your access keys:

For more details, refer to the Admin Portal Guide.

API Documentation

View the full API documentation here:

https://docs.developer.tech.gov.sg/docs/searchsg-query-apis-documentation/

Chat with me!
Bot Launcher