Puzzle Locations API

The Locations API from Puzzle — 1 operation(s) for locations.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 2

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /company/{id}/locations List a company's locations · Get Locations #
Ask an LLM
“Which locations does a company have?”
“Can I see every location for a company by its ID?”
Tell an agent
List the locations of company {id}.
Show all locations for company {id}.
POST /company/{id}/locations Create a company location · Create Location #
Ask an LLM
“How do I add a new location to a company?”
“Why would creating a location fail if another location already exists in the same city and state?”
Tell an agent
Create a location in {city}, {state} with zip {zipCode} for company {id}.
Add a new location to company {id} at {city}, {state}, {zipCode}.

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/puzzle:puzzle-locations-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

puzzle-locations-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Puzzle Locations API
  description: Puzzle Api
  version: '0'
servers:
- url: https://staging.southparkdata.com/rest/v0
tags:
- name: Locations
paths:
  /company/{id}/locations:
    get:
      operationId: locations
      summary: Get Locations
      description: 'Retrieves a list of all locations for the given company.


        Requires scope: read:company'
      tags:
      - Locations
      parameters:
      - name: id
        in: path
        required: true
        description: The company ID
        schema:
          type: string
          minLength: 1
          description: Partner-facing external identifier
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  locations:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          minLength: 1
                          description: Partner-facing external identifier
                        city:
                          type: string
                        state:
                          type: string
                        zipCode:
                          type: string
                      required:
                      - id
                      - city
                      - state
                      - zipCode
                required:
                - locations
    post:
      operationId: createLocation
      summary: Create Location
      description: 'Create a location for the given company.


        Locations must be unique. A 400 error will be thrown if a location with the same city, state, and zip code already exists.


        Requires scope: write:location'
      tags:
      - Locations
      parameters:
      - name: id
        in: path
        required: true
        description: The company ID
        schema:
          type: string
          minLength: 1
          description: Partner-facing external identifier
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                city:
                  type: string
                  minLength: 1
                state:
                  type: string
                  minLength: 1
                zipCode:
                  type: string
                  minLength: 1
              required:
              - city
              - state
              - zipCode
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                    minLength: 1
                    description: Partner-facing external identifier
                  city:
                    type: string
                  state:
                    type: string
                  zipCode:
                    type: string
                required:
                - id
                - city
                - state
                - zipCode
x-provenance:
  method: harvested
  publisher: Puzzle
  source: https://app.puzzle.io/rest/v0/openapi.yaml
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)