Curbwaste Locations API

The Locations API from Curbwaste — 3 operation(s) for locations.

Operations 5

GET /v1/locations List Locations #
POST /v1/locations Create Location #
POST /v1/locations/validate-address Validate Address #
GET /v1/locations/{id} Get Location #
PATCH /v1/locations/{id} Update Location #

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

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

OpenAPI Specification

curbwaste-locations-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: CurbWaste Public Locations API
  version: 1.0.0
  description: 'Partner-facing public API under /v1. Authenticate with a company API key (Authorization: Bearer cw_live_…). Outbound webhooks (customer.created / customer.updated / location.created / location.updated / pricelist.created) use HMAC and are documented separately.'
  contact:
    name: CurbWaste
  license:
    name: UNLICENSED 1
servers:
- url: https://api.curbwaste.com
  description: Production public API
security:
- ApiKeyBearer: []
tags:
- name: Locations
paths:
  /v1/locations:
    get:
      tags:
      - Locations
      parameters:
      - name: customerId
        in: query
        schema:
          type: string
          format: uuid
        required: true
      - name: q
        in: query
        schema:
          type: string
          maxLength: 255
        required: false
      - name: page
        in: query
        schema:
          type: integer
          minimum: 1
        required: false
      - name: limit
        in: query
        schema:
          type: integer
          minimum: 1
          maximum: 100
        required: false
      - name: expand
        in: query
        schema:
          type: string
        required: false
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicLocationsListResponse'
      operationId: listLocations
      summary: List Locations
    post:
      tags:
      - Locations
      parameters:
      - name: expand
        in: query
        schema:
          type: string
        required: false
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreatePublicLocationDto'
        required: true
      responses:
        '201':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicLocationResponse'
      operationId: createLocation
      summary: Create Location
  /v1/locations/validate-address:
    post:
      tags:
      - Locations
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ValidatePublicAddressDto'
        required: true
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicValidatedAddressResponse'
      operationId: validateAddress
      summary: Validate Address
  /v1/locations/{id}:
    get:
      tags:
      - Locations
      parameters:
      - name: id
        in: path
        schema:
          type: string
          format: uuid
        required: true
      - name: expand
        in: query
        schema:
          type: string
        required: false
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicLocationResponse'
      operationId: getLocation
      summary: Get Location
    patch:
      tags:
      - Locations
      parameters:
      - name: id
        in: path
        schema:
          type: string
          format: uuid
        required: true
      - name: expand
        in: query
        schema:
          type: string
        required: false
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdatePublicLocationDto'
        required: true
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicLocationResponse'
      operationId: updateLocation
      summary: Update Location
components:
  schemas:
    PublicValidatedAddressResponse:
      type: object
      properties:
        data:
          $ref: '#/components/schemas/PublicValidatedAddress'
      required:
      - data
    PublicLocation:
      type: object
      properties:
        id:
          type: string
        customerId:
          type: string
        name:
          oneOf:
          - type: 'null'
          - type: string
        status:
          type: string
        locationNote:
          oneOf:
          - type: 'null'
          - type: string
        purchaseOrderNumber:
          oneOf:
          - type: 'null'
          - type: string
        address:
          $ref: '#/components/schemas/PublicLocationAddress'
        createdAt:
          oneOf:
          - type: 'null'
          - type: string
        updatedAt:
          oneOf:
          - type: 'null'
          - type: string
        reused:
          type: boolean
        reactivated:
          type: boolean
      required:
      - id
      - customerId
      - name
      - status
      - locationNote
      - purchaseOrderNumber
      - address
      - createdAt
      - updatedAt
    UpdatePublicLocationDto:
      type: object
      properties:
        name:
          oneOf:
          - type: 'null'
          - type: string
            minLength: 1
            maxLength: 255
        locationNote:
          oneOf:
          - type: 'null'
          - type: string
            maxLength: 2000
        purchaseOrderNumber:
          oneOf:
          - type: 'null'
          - type: string
            maxLength: 255
        address:
          type: string
          minLength: 1
          maxLength: 500
          title: Street address to re-geocode. When set, replaces the stored address JSON
          description: Street address to re-geocode. When set, replaces the stored address JSON.
        status:
          title: Set to "ACTIVE" to reactivate an inactive location
          description: Set to "ACTIVE" to reactivate an inactive location.
          type: string
          enum:
          - ACTIVE
          - INACTIVE
      required: []
    PublicLocationsListResponse:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/PublicLocation'
        page:
          type: number
        limit:
          type: number
        total:
          type: number
      required:
      - data
      - page
      - limit
      - total
    PublicLocationAddress:
      type: object
      properties:
        address:
          oneOf:
          - type: 'null'
          - type: string
        city:
          oneOf:
          - type: 'null'
          - type: string
        state:
          oneOf:
          - type: 'null'
          - type: string
        zipcode:
          oneOf:
          - type: 'null'
          - type: string
        streetNo:
          oneOf:
          - type: 'null'
          - type: string
        county:
          oneOf:
          - type: 'null'
          - type: string
        borough:
          oneOf:
          - type: 'null'
          - type: string
        geoPlaceId:
          oneOf:
          - type: 'null'
          - type: string
        location:
          oneOf:
          - type: 'null'
          - type: object
            properties:
              lat:
                type: number
              lng:
                type: number
            required:
            - lat
            - lng
      required:
      - address
      - city
      - state
      - zipcode
      - streetNo
      - county
      - borough
      - geoPlaceId
      - location
    ValidatePublicAddressDto:
      type: object
      properties:
        address:
          type: string
          minLength: 1
          maxLength: 500
      required:
      - address
    PublicLocationResponse:
      type: object
      properties:
        data:
          $ref: '#/components/schemas/PublicLocation'
      required:
      - data
    CreatePublicLocationDto:
      type: object
      properties:
        customerId:
          type: string
          format: uuid
        address:
          type: string
          minLength: 1
          maxLength: 500
          description: 'Street address to geocode. Coordinates must not be supplied by the client —

            the public API geocodes this string server-side.'
        name:
          type: string
          minLength: 1
          maxLength: 255
        locationNote:
          type: string
          maxLength: 2000
        purchaseOrderNumber:
          type: string
          maxLength: 255
        reactivateIfInactive:
          type: boolean
          title: When true, reactivate an inactive match at this address+name instead of failing
          description: When true, reactivate an inactive match at this address+name instead of failing.
      required:
      - customerId
      - address
    PublicValidatedAddress:
      type: object
      properties:
        formattedAddress:
          type: string
        streetNumber:
          type: string
        route:
          type: string
        city:
          type: string
        state:
          type: string
        zipcode:
          type: string
        county:
          type: string
        borough:
          type: string
        geoPlaceId:
          type: string
        location:
          type: object
          properties:
            lat:
              type: number
            lng:
              type: number
          required:
          - lat
          - lng
      required:
      - formattedAddress
      - streetNumber
      - route
      - city
      - state
      - zipcode
      - county
      - borough
      - geoPlaceId
      - location
  securitySchemes:
    ApiKeyBearer:
      type: http
      scheme: bearer
      bearerFormat: API key
      description: 'Company API key from the developer platform. Header: Authorization: Bearer cw_live_…. Key must include customers:read and/or customers:write.'