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.
openapi: 3.2.0
info:
title: GTM Directory Stats API
version: 1.0.0
description: 'Read-only access to the published listings of The GTM Directory. No authentication. Responses are cached and rate limited per client. License: cite, quote and link with credit to thegtmdirectory.com and the as-of date. No bulk redistribution. Terms: https://thegtmdirectory.com/data/terms. AI training terms: https://thegtmdirectory.com/ai-policy.'
license:
name: TGD Data Terms v1.0
url: https://thegtmdirectory.com/data/terms
servers:
- url: https://thegtmdirectory.com
tags:
- name: Stats
paths:
/api/v1/stats:
get:
operationId: getStats
summary: Dataset counts with the as-of date
description: GTM tools listed, MCP-server listings, and each published vendor-verified fact as a count and percent of the tools checked.
responses:
'200':
description: The counts.
content:
application/json:
schema:
type: object
properties:
data:
type: object
properties:
as_of:
type: string
description: YYYY-MM-DD
gtm_tools:
type: integer
mcp_listings:
type: integer
facts:
type: object
additionalProperties:
type: object
properties:
count:
type: integer
denominator:
type: integer
pct:
type: number
'429':
description: Rate limited. Retry after the number of seconds in the Retry-After header.
content:
application/json:
schema:
type: object
properties:
error:
type: string
message:
type: string
'503':
description: No complete vendor-fact run is published yet.
content:
application/json:
schema:
type: object
properties:
error:
type: string
message:
type: string
tags:
- Stats