Fire Sprinklers Stats API
The Stats API from Fire Sprinklers — 1 operation(s) for stats.
The Stats API from Fire Sprinklers — 1 operation(s) for stats.
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/firesprinklers-fyi:firesprinklers-fyi-stats-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: Fire Sprinklers Stats 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://firesprinklers.fyi/api/v1
tags:
- name: Stats
paths:
/stats:
get:
summary: Counts and the last update
operationId: getStats
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=60, s-maxage=300, stale-while-revalidate=600`.'
schema:
type: string
content:
application/json:
schema:
type: object
additionalProperties: false
required:
- data
- meta
properties:
data:
$ref: '#/components/schemas/Stats'
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=60, s-maxage=300, stale-while-revalidate=600`.'
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:
- Stats
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
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
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
Stats:
type: object
properties:
listings:
type: integer
minimum: 0
maximum: 9007199254740991
description: Published listings.
countries:
type: integer
minimum: 0
maximum: 9007199254740991
regions:
type: integer
minimum: 0
maximum: 9007199254740991
cities:
type: integer
minimum: 0
maximum: 9007199254740991
categories:
type: integer
minimum: 0
maximum: 9007199254740991
description: Every category in the tree, at any depth.
sources:
type: integer
minimum: 0
maximum: 9007199254740991
lastUpdated:
description: When a published listing last changed. ISO 8601. Null with no listings.
type:
- string
- 'null'
required:
- listings
- countries
- regions
- cities
- categories
- sources
- lastUpdated
additionalProperties: false