SaaSCity Nlweb API

NLWeb natural-language search over live listings.

GitHub OpenAPI

Operations 2

GET /ask Natural-language search (NLWeb) #
POST /ask Natural-language search (NLWeb, POST) #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/saascity-io:saascity-io-nlweb-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

saascity-io-nlweb-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: SaaSCity Public Nlweb API
  version: 1.0.0
  description: 'Public endpoints of SaaSCity, the launch directory for SaaS and AI tools on a live city map. Agent work goes through the MCP server at /api/mcp (keyless). All errors are JSON: {"error": string}.'
  contact:
    name: SaaSCity support
    email: support@saascity.io
    url: https://saascity.io/about
  termsOfService: https://saascity.io/terms
  x-logo:
    url: https://saascity.io/apple-touch-icon.png
servers:
- url: https://saascity.io
tags:
- name: nlweb
  description: NLWeb natural-language search over live listings.
paths:
  /ask:
    get:
      operationId: nlwebAsk
      tags:
      - nlweb
      summary: Natural-language search (NLWeb)
      description: 'Microsoft NLWeb /ask: searches live SaaSCity listings for a natural-language query. Set streaming=true (or Accept: text/event-stream) for SSE events start, result, complete.'
      parameters:
      - name: query
        in: query
        required: true
        schema:
          type: string
      - name: site
        in: query
        schema:
          type: string
      - name: streaming
        in: query
        schema:
          type: boolean
          default: false
      - name: mode
        in: query
        schema:
          type: string
          enum:
          - list
          default: list
      - name: query_id
        in: query
        schema:
          type: string
      responses:
        '200':
          description: Results.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NlwebResponse'
            text/event-stream:
              schema:
                type: string
        '400':
          $ref: '#/components/responses/BadRequest'
        '429':
          $ref: '#/components/responses/RateLimited'
    post:
      operationId: nlwebAskPost
      tags:
      - nlweb
      summary: Natural-language search (NLWeb, POST)
      description: 'Same as GET /ask with a JSON body. `prefer: { streaming: true }` selects SSE.'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - query
              properties:
                query:
                  type: string
                site:
                  type: string
                streaming:
                  type: boolean
                prefer:
                  type: object
                  properties:
                    streaming:
                      type: boolean
                query_id:
                  type: string
      responses:
        '200':
          description: Results.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NlwebResponse'
            text/event-stream:
              schema:
                type: string
        '400':
          $ref: '#/components/responses/BadRequest'
        '429':
          $ref: '#/components/responses/RateLimited'
components:
  schemas:
    Error:
      type: object
      required:
      - error
      properties:
        error:
          type: string
          description: Human-readable reason.
    NlwebResult:
      type: object
      properties:
        url:
          type: string
          format: uri
        name:
          type: string
        site:
          type: string
        score:
          type: number
        description:
          type: string
        schema_object:
          type: object
          additionalProperties: true
    NlwebResponse:
      type: object
      properties:
        query_id:
          type: string
        results:
          type: array
          items:
            $ref: '#/components/schemas/NlwebResult'
        _meta:
          type: object
          properties:
            response_type:
              type: string
            version:
              type: string
  responses:
    RateLimited:
      description: Rate limit hit. Retry-After header is set.
      headers:
        Retry-After:
          schema:
            type: integer
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    BadRequest:
      description: Malformed input.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
externalDocs:
  description: MCP server docs and agent guide
  url: https://saascity.io/mcp