Gotham Greens Discovery API

Public, unauthenticated site, content-type, taxonomy and status metadata — the self-describing route index that makes the whole surface machine-readable.

Operations 7

GET / Get the API root index #
GET /wp/v2 Get the wp/v2 namespace index #
GET /wp/v2/types List registered content types #
GET /wp/v2/types/{type} Get a content type #
GET /wp/v2/taxonomies List registered taxonomies #
GET /wp/v2/taxonomies/{taxonomy} Get a taxonomy #
GET /wp/v2/statuses List post statuses #

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/gotham-greens-discovery-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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

gotham-greens-discovery-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Gotham Greens Discovery API
  version: wp/v2
  summary: Public site, content-type, taxonomy and status metadata.
  description: 'The self-describing surface of the gothamgreens.com WordPress REST API — the root index that enumerates every namespace and route with its methods and argument schemas, plus the content-type, taxonomy and post-status registries. This is what makes the whole site content surface machine-discoverable. Verified live on 2026-08-01: the root index advertises 406 routes across 17 namespaces, of which the operations documented across this repo''s specs are the ones readable without credentials.'
  contact:
    name: Gotham Greens
    url: https://www.gothamgreens.com/contact/
  license:
    name: Site content — all rights reserved, see Terms of Use
    url: https://www.gothamgreens.com/terms-of-use/
  x-apis-io-provenance:
    method: derived
    source: https://www.gothamgreens.com/wp-json/
    derived_on: '2026-08-01'
    note: Routes enumerated from the live wp-json discovery document (406 routes across 17 namespaces); each operation below was probed anonymously and returned HTTP 200. Schemas reflect the fields observed in live responses on 2026-08-01. No fabricated operations.
servers:
- url: https://www.gothamgreens.com/wp-json
  description: Production
tags:
- name: Discovery
  description: Route index, content types, taxonomies and post statuses.
paths:
  /:
    get:
      tags:
      - Discovery
      operationId: getRootIndex
      summary: Get the API root index
      description: Returns the site's REST index — name, description, home and gmt_offset, the list of registered namespaces, the full route table with per-route methods and argument schemas, the authentication methods advertised, and site link relations.
      responses:
        '200':
          description: The REST root index.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RootIndex'
  /wp/v2:
    get:
      tags:
      - Discovery
      operationId: getNamespaceIndex
      summary: Get the wp/v2 namespace index
      description: Returns the route table scoped to the `wp/v2` namespace.
      responses:
        '200':
          description: The namespace index.
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
  /wp/v2/types:
    get:
      tags:
      - Discovery
      operationId: listTypes
      summary: List registered content types
      description: 'Returns every registered post type keyed by slug. Verified live: post, page, attachment, nav_menu_item, wp_block, wp_template, wp_template_part, wp_global_styles, wp_navigation, wp_font_family, wp_font_face. Gotham Greens registers no custom public post types.'
      responses:
        '200':
          description: The content-type registry.
          content:
            application/json:
              schema:
                type: object
                additionalProperties:
                  $ref: '#/components/schemas/ContentType'
  /wp/v2/types/{type}:
    get:
      tags:
      - Discovery
      operationId: getType
      summary: Get a content type
      description: Returns a single registered post type by slug.
      parameters:
      - name: type
        in: path
        required: true
        description: Slug of the registered post type, e.g. `post`.
        schema:
          type: string
      responses:
        '200':
          description: The requested content type.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContentType'
        '404':
          $ref: '#/components/responses/NotFound'
  /wp/v2/taxonomies:
    get:
      tags:
      - Discovery
      operationId: listTaxonomies
      summary: List registered taxonomies
      description: 'Returns every registered taxonomy keyed by slug. Verified live: category, post_tag, nav_menu, wp_pattern_category.'
      responses:
        '200':
          description: The taxonomy registry.
          content:
            application/json:
              schema:
                type: object
                additionalProperties:
                  $ref: '#/components/schemas/Taxonomy'
  /wp/v2/taxonomies/{taxonomy}:
    get:
      tags:
      - Discovery
      operationId: getTaxonomy
      summary: Get a taxonomy
      description: Returns a single registered taxonomy by slug.
      parameters:
      - name: taxonomy
        in: path
        required: true
        description: Slug of the taxonomy, e.g. `category`.
        schema:
          type: string
      responses:
        '200':
          description: The requested taxonomy.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Taxonomy'
        '404':
          $ref: '#/components/responses/NotFound'
  /wp/v2/statuses:
    get:
      tags:
      - Discovery
      operationId: listStatuses
      summary: List post statuses
      description: 'Returns the publicly visible post statuses. Verified live: `publish` and `acf-disabled`.'
      responses:
        '200':
          description: The post-status registry.
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
components:
  responses:
    NotFound:
      description: The requested object does not exist.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            code: rest_no_route
            message: No route was found matching the URL and request method.
            data:
              status: 404
  schemas:
    RootIndex:
      type: object
      description: The WordPress REST API root index document.
      properties:
        name:
          type: string
        description:
          type: string
        url:
          type: string
          format: uri
        home:
          type: string
          format: uri
        gmt_offset:
          type:
          - number
          - string
        timezone_string:
          type: string
        namespaces:
          type: array
          items:
            type: string
        authentication:
          description: Authentication methods advertised by the site. Observed live as an empty array — the site advertises no additional authentication scheme beyond WordPress core cookie authentication.
          oneOf:
          - type: array
          - type: object
            additionalProperties: true
        routes:
          type: object
          additionalProperties: true
          description: Route table keyed by route pattern, each with methods, endpoints and args.
        _links:
          type: object
          additionalProperties: true
      required:
      - name
      - url
      - home
      - namespaces
      - routes
    Taxonomy:
      type: object
      description: A registered WordPress taxonomy.
      properties:
        name:
          type: string
        slug:
          type: string
        description:
          type: string
        types:
          type: array
          items:
            type: string
        hierarchical:
          type: boolean
        rest_base:
          type: string
        rest_namespace:
          type: string
        visibility:
          type: object
          additionalProperties: true
        labels:
          type: object
          additionalProperties: true
        _links:
          type: object
          additionalProperties: true
      required:
      - name
      - slug
      - rest_base
    ContentType:
      type: object
      description: A registered WordPress post type.
      properties:
        description:
          type: string
        hierarchical:
          type: boolean
        has_archive:
          type:
          - boolean
          - string
        name:
          type: string
        slug:
          type: string
        icon:
          type:
          - string
          - 'null'
        taxonomies:
          type: array
          items:
            type: string
        rest_base:
          type: string
        rest_namespace:
          type: string
        supports:
          type: object
          additionalProperties: true
        visibility:
          type: object
          additionalProperties: true
        labels:
          type: object
          additionalProperties: true
        _links:
          type: object
          additionalProperties: true
      required:
      - name
      - slug
      - rest_base
    Error:
      type: object
      description: The WordPress REST error envelope, verified live. Note this is NOT RFC 9457 application/problem+json — it is served as application/json with a WordPress-specific shape.
      properties:
        code:
          type: string
        message:
          type: string
        data:
          type: object
          properties:
            status:
              type: integer
            params:
              type: object
              additionalProperties:
                type: string
            details:
              type: object
              additionalProperties: true
          required:
          - status
      required:
      - code
      - message
      - data