Greenlit Books Pages API

The Pages API from Greenlit Books — 2 operation(s) for pages.

GitHub OpenAPI

Operations 2

GET /pages Search the whole site: safety verdicts, field notes, guides and books #
GET /pages/doc The full text of one page #

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-pages-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-pages-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Greenlitbooks Com Pages API
  version: 1.2.0
  contact:
    name: Greenlit Books
    url: https://greenlitbooks.com
  description: 'Operations tagged Pages 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: Pages
paths:
  /pages:
    get:
      operationId: searchPages
      summary: 'Search the whole site: safety verdicts, field notes, guides and books'
      description: Search safety verdicts on AI agents, MCP servers and coding tools, plus guides and books. Use first for any 'is X safe' or 'should I use X' question.
      parameters:
      - name: q
        in: query
        required: true
        schema:
          type: string
        description: The search query.
        example: is cursor safe
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          minimum: 1
          maximum: 25
          default: 10
        description: Maximum number of results.
      responses:
        '200':
          description: Ranked pages
          content:
            application/json:
              schema:
                type: object
                properties:
                  meta:
                    $ref: '#/components/schemas/Meta'
                  query:
                    type: object
                    properties:
                      q:
                        type: string
                      limit:
                        type: integer
                  count:
                    type: integer
                  totalMatches:
                    type: integer
                  results:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          description: Pass to /pages/doc. <kind>:<slug>, e.g. note:is-cursor-safe.
                        title:
                          type: string
                        url:
                          type: string
                          format: uri
                        kind:
                          type: string
                          enum:
                          - book
                          - note
                          - guide
                        snippet:
                          type: string
        '400':
          description: Missing q or invalid limit
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Pages
    servers:
    - url: https://greenlitbooks.com/api/v1
  /pages/doc:
    get:
      operationId: getPage
      summary: The full text of one page
      description: Read the full text of one page returned by searchPages, with the canonical URL to cite.
      parameters:
      - name: id
        in: query
        required: true
        schema:
          type: string
        description: An id from /pages.
        example: note:is-cursor-safe
      responses:
        '200':
          description: One page
          content:
            application/json:
              schema:
                type: object
                properties:
                  meta:
                    $ref: '#/components/schemas/Meta'
                  id:
                    type: string
                  title:
                    type: string
                  text:
                    type: string
                    description: The page as markdown.
                  url:
                    type: string
                    format: uri
                  metadata:
                    type: object
                    additionalProperties:
                      type: string
        '400':
          description: Missing id
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: No page with that id
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Pages
    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'
    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