Greenlit Books Search API

The Search API from Greenlit Books — 1 operation(s) for search.

GitHub OpenAPI

Operations 1

GET /search Ranked catalog search #

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/greenlitbooks-com:greenlitbooks-com-search-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

greenlitbooks-com-search-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Greenlitbooks Com Search API
  version: 1.2.0
  contact:
    name: Greenlit Books
    url: https://greenlitbooks.com
  description: 'Operations tagged Search across 2 of this provider''s published API definitions: greenlitbooks-com-openapi-gpt.json, greenlitbooks-com-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://greenlitbooks.com/api/v1
security: []
tags:
- name: Search
paths:
  /search:
    get:
      operationId: searchBooks
      summary: Ranked catalog search
      description: Search the Greenlit books on working with AI. Use when the reader wants a book on a topic.
      parameters:
      - name: q
        in: query
        required: true
        schema:
          type: string
        description: The search query. Required and non-empty.
        example: agent reliability
      - name: series
        in: query
        required: false
        schema:
          type: string
          enum:
          - the-operators-ai-library
          - the-ai-native-builder-canon
          - understand-and-trust-ai
          - build-agents-you-can-trust
          - lead-govern-and-apply-ai
          - ai-and-agentic-engineering
          - the-claude-code-ladder
          - the-agent-builders-workshop
          - the-two-doors
          - forward-deployed-engineering-handbooks
          - the-complete-grok-bot-guide
          - the-omarchy-books
          - the-personal-ai-computer
        description: Restrict results to one series (by slug).
      - name: audience
        in: query
        required: false
        schema:
          type: string
          enum:
          - beginner
          - operator
          - engineer
          - leader
        description: Restrict results to one reader level.
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          minimum: 1
          maximum: 25
          default: 10
        description: Maximum number of results.
      responses:
        '200':
          description: Ranked results
          content:
            application/json:
              schema:
                type: object
                properties:
                  meta:
                    $ref: '#/components/schemas/Meta'
                  query:
                    type: object
                    properties:
                      q:
                        type: string
                      series:
                        type:
                        - string
                        - 'null'
                      audience:
                        type:
                        - string
                        - 'null'
                      limit:
                        type: integer
                  count:
                    type: integer
                  totalMatches:
                    type: integer
                  results:
                    type: array
                    items:
                      $ref: '#/components/schemas/SearchResult'
        '400':
          description: Missing or empty q, unknown series or audience, or invalid limit
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Search
    servers:
    - url: https://greenlitbooks.com/api/v1
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              examples:
              - not_found
              - missing_query
            message:
              type: string
        meta:
          $ref: '#/components/schemas/Meta'
    SearchResult:
      type: object
      properties:
        score:
          type: number
          description: Relevance score. Higher is better.
        matchedFields:
          type: array
          items:
            type: string
          description: Which fields the query matched.
        book:
          type: object
          properties:
            slug:
              type: string
            title:
              type: string
            subtitle:
              type:
              - string
              - 'null'
            author:
              type:
              - string
              - 'null'
            readerLevel:
              type: string
              enum:
              - beginner
              - operator
              - engineer
              - leader
            series:
              type:
              - object
              - 'null'
              properties:
                name:
                  type: string
                slug:
                  type: string
            oneLiner:
              type:
              - string
              - 'null'
            url:
              type: string
              format: uri
            apiUrl:
              type: string
              format: uri
            coverImage:
              type:
              - string
              - 'null'
              format: uri
    Meta:
      type: object
      description: Envelope on every response.
      properties:
        version:
          type: string
          const: v1
        generatedAt:
          type: string
          format: date-time
          description: When this snapshot was produced. Static endpoints stamp it at deploy; search stamps it per request.
        source:
          type: string
          format: uri
        docs:
          type: string
          format: uri
        openapi:
          type: string
          format: uri
externalDocs:
  description: Human documentation, the MCP server, and the markdown surfaces for agents
  url: https://greenlitbooks.com/developers
x-refined-from:
- greenlitbooks-com-openapi-gpt.json
- greenlitbooks-com-openapi.json