Properties
| Name | Type | Description |
|---|---|---|
| by_source | array | Deals created in the window per origin, largest first. |
| lost_count | integer | Deals lost in the window. |
| median_cycle_days | integernull | Median days from creation to win over the deals won in the window. |
| open_cents | integer | Expected amount of the open deals now, **in cents** (window-invariant). |
| open_count | integer | Deals still open now (window-invariant). |
| series | array | Month series over the window, gap-filled, oldest first. |
| win_rate_bp | integernull | `won / (won + lost)` in basis points, `null` when nothing closed. |
| won_count | integer | Deals won in the window. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/asap-cool/json-schema/asap-cool-deal-stats-view-schema.json",
"title": "DealStatsView",
"description": "Response of `GET /v1/crm/stats`.",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/asap-cool-crm-api-openapi.yml#/components/schemas/DealStatsView",
"type": "object",
"required": [
"series",
"won_count",
"lost_count",
"open_count",
"open_cents",
"by_source"
],
"properties": {
"by_source": {
"type": "array",
"items": {
"$ref": "#/$defs/DealSourceView"
},
"description": "Deals created in the window per origin, largest first."
},
"lost_count": {
"type": "integer",
"format": "int64",
"description": "Deals lost in the window."
},
"median_cycle_days": {
"type": [
"integer",
"null"
],
"format": "int64",
"description": "Median days from creation to win over the deals won in the window."
},
"open_cents": {
"type": "integer",
"format": "int64",
"description": "Expected amount of the open deals now, **in cents** (window-invariant)."
},
"open_count": {
"type": "integer",
"format": "int64",
"description": "Deals still open now (window-invariant)."
},
"series": {
"type": "array",
"items": {
"$ref": "#/$defs/DealStatsPointView"
},
"description": "Month series over the window, gap-filled, oldest first."
},
"win_rate_bp": {
"type": [
"integer",
"null"
],
"format": "int64",
"description": "`won / (won + lost)` in basis points, `null` when nothing closed."
},
"won_count": {
"type": "integer",
"format": "int64",
"description": "Deals won in the window."
}
},
"$defs": {
"DealSourceView": {
"type": "object",
"description": "Deals created in the window from one origin.",
"required": [
"source",
"count",
"won_count"
],
"properties": {
"count": {
"type": "integer",
"format": "int64",
"description": "Deals created from that source."
},
"source": {
"type": "string",
"description": "`manual`, `sourcing`, `outreach` or `chat`."
},
"won_count": {
"type": "integer",
"format": "int64",
"description": "Of which won."
}
}
},
"DealStatsPointView": {
"type": "object",
"description": "One month of deal flow.",
"required": [
"period",
"created_count",
"won_count",
"won_cents",
"lost_count"
],
"properties": {
"created_count": {
"type": "integer",
"format": "int64",
"description": "Deals created that month."
},
"lost_count": {
"type": "integer",
"format": "int64",
"description": "Deals lost that month."
},
"period": {
"type": "string",
"description": "Month, `YYYY-MM`."
},
"won_cents": {
"type": "integer",
"format": "int64",
"description": "Expected amount of the deals won that month, **in cents**."
},
"won_count": {
"type": "integer",
"format": "int64",
"description": "Deals won that month."
}
}
}
}
}
Work with this as data
Every JSON Schema 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 schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/asap-cool-deal-stats-view"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.