Plumber Pros Product Categories API
The Product Categories API from Plumber Pros — 1 operation(s) for product categories.
The Product Categories API from Plumber Pros — 1 operation(s) for product categories.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/plumberpros-fyi:plumberpros-fyi-product-categories-api"
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.
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: 3.2.0
info:
title: Plumber Pros Product Categories API
version: '1'
description: The read API is free, needs no key and reads only. The admin routes under /admin/ need an admin session. Every read response carries `meta.attribution` and `meta.sources`.
servers:
- url: https://plumberpros.fyi/api/v1
tags:
- name: Product Categories
paths:
/product-categories:
get:
summary: List the product categories with their product counts
operationId: getProductCategories
parameters: []
responses:
'200':
description: Success.
headers:
RateLimit-Limit:
description: Requests allowed per window. 300.
schema:
type: string
RateLimit-Policy:
description: The policy as `limit;w=seconds`. `300;w=60`.
schema:
type: string
Access-Control-Allow-Origin:
description: '`*`. Any origin may read.'
schema:
type: string
ETag:
description: A weak validator. Send it back as `If-None-Match`.
schema:
type: string
Cache-Control:
description: '`public, max-age=0, s-maxage=30`.'
schema:
type: string
content:
application/json:
schema:
type: object
additionalProperties: false
required:
- data
- meta
properties:
data:
type: array
items:
$ref: '#/components/schemas/ProductCategory'
meta:
$ref: '#/components/schemas/Meta'
'304':
description: The `If-None-Match` validator still matches. No body.
headers:
RateLimit-Limit:
description: Requests allowed per window. 300.
schema:
type: string
RateLimit-Policy:
description: The policy as `limit;w=seconds`. `300;w=60`.
schema:
type: string
Access-Control-Allow-Origin:
description: '`*`. Any origin may read.'
schema:
type: string
ETag:
description: A weak validator. Send it back as `If-None-Match`.
schema:
type: string
Cache-Control:
description: '`public, max-age=0, s-maxage=30`.'
schema:
type: string
'400':
description: A parameter is unknown, repeated, empty or invalid. `code` is `invalid_parameter` or `invalid_cursor`.
headers:
RateLimit-Limit:
description: Requests allowed per window. 300.
schema:
type: string
RateLimit-Policy:
description: The policy as `limit;w=seconds`. `300;w=60`.
schema:
type: string
Access-Control-Allow-Origin:
description: '`*`. Any origin may read.'
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Over the limit of 300 requests per 60 seconds. `code` is `rate_limited`.
headers:
RateLimit-Limit:
description: Requests allowed per window. 300.
schema:
type: string
RateLimit-Policy:
description: The policy as `limit;w=seconds`. `300;w=60`.
schema:
type: string
Access-Control-Allow-Origin:
description: '`*`. Any origin may read.'
schema:
type: string
Retry-After:
description: Seconds to wait. 60.
schema:
type: integer
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: An error on the server. `code` is `internal_error`.
headers:
RateLimit-Limit:
description: Requests allowed per window. 300.
schema:
type: string
RateLimit-Policy:
description: The policy as `limit;w=seconds`. `300;w=60`.
schema:
type: string
Access-Control-Allow-Origin:
description: '`*`. Any origin may read.'
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'503':
description: The database is briefly overloaded. `code` is `unavailable`.
headers:
RateLimit-Limit:
description: Requests allowed per window. 300.
schema:
type: string
RateLimit-Policy:
description: The policy as `limit;w=seconds`. `300;w=60`.
schema:
type: string
Access-Control-Allow-Origin:
description: '`*`. Any origin may read.'
schema:
type: string
Retry-After:
description: Seconds to wait. 5.
schema:
type: integer
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
tags:
- Product Categories
components:
schemas:
Source:
type: object
properties:
licenseUrl:
type:
- string
- 'null'
attributionRequired:
type: boolean
key:
type: string
name:
type: string
url:
type: string
license:
type: string
description: The license of the data taken from this source.
refresh:
type: string
description: How often the source is re-imported.
notes:
type:
- string
- 'null'
required:
- licenseUrl
- attributionRequired
- key
- name
- url
- license
- refresh
- notes
additionalProperties: false
ProductCategory:
type: object
properties:
slug:
type: string
maxLength: 80
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
name:
type: string
minLength: 1
maxLength: 120
description:
type: string
minLength: 1
maxLength: 500
group:
anyOf:
- type: string
minLength: 1
maxLength: 80
- type: 'null'
rank:
default: 0
type: integer
minimum: 0
maximum: 9999
product_count:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
page_url:
type: string
required:
- slug
- name
- description
- rank
- product_count
- page_url
additionalProperties: false
Error:
type: object
properties:
error:
type: string
description: A sentence for a person.
code:
type: string
enum:
- invalid_parameter
- invalid_cursor
- not_found
- method_not_allowed
- rate_limited
- internal_error
- unavailable
description: Stable. Branch on this, not on `error`.
details:
description: One entry per bad parameter, on `invalid_parameter`.
type: array
items:
type: object
properties:
field:
type: string
message:
type: string
required:
- field
- message
additionalProperties: false
required:
- error
- code
additionalProperties: false
Meta:
type: object
properties:
attribution:
type: object
properties:
name:
type: string
url:
type: string
text:
type: string
description: Credit line to show next to the data.
required:
- name
- url
- text
additionalProperties: false
sources:
type: array
items:
$ref: '#/components/schemas/Source'
description: Where the data comes from, with the license of each source.
required:
- attribution
- sources
additionalProperties: false