{
    "openapi": "3.1.0",
    "info": {
        "title": "BudgetGenie API",
        "version": "1.0.0",
        "description": "Alleen lezen. Openbare gegevens van BudgetGenie: inhoud, vragen en antwoorden, bedragen met bron en rekenhulpen. Limiet 60 verzoeken per minuut per IP. Uitleg: https://budgetgenie.nl/voor-ai/",
        "contact": {
            "email": "redactie@budgetgenie.nl"
        }
    },
    "servers": [
        {
            "url": "https://budgetgenie.nl"
        }
    ],
    "paths": {
        "/api/facts.json": {
            "get": {
                "operationId": "api_facts",
                "summary": "Profiel van de site en de kerncijfers met bron en peildatum.",
                "responses": {
                    "200": {
                        "description": "JSON",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Meer dan 60 verzoeken per minuut; zie Retry-After."
                    }
                }
            }
        },
        "/api/content.json": {
            "get": {
                "operationId": "api_content",
                "summary": "Alle gepubliceerde artikelen, pagina's en gemeentepagina's (100 per pagina, ?pagina=N).",
                "responses": {
                    "200": {
                        "description": "JSON",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "site": {
                                            "type": "string"
                                        },
                                        "versie": {
                                            "type": "string"
                                        },
                                        "bijgewerkt": {
                                            "type": "string",
                                            "format": "date-time"
                                        },
                                        "items": {
                                            "type": "array",
                                            "items": {
                                                "type": "object"
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Meer dan 60 verzoeken per minuut; zie Retry-After."
                    }
                },
                "parameters": [
                    {
                        "name": "pagina",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "default": 1
                        },
                        "description": "100 stukken per pagina."
                    }
                ]
            }
        },
        "/api/answers.json": {
            "get": {
                "operationId": "api_answers",
                "summary": "Alle vragen en antwoorden die op de site staan.",
                "responses": {
                    "200": {
                        "description": "JSON",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "site": {
                                            "type": "string"
                                        },
                                        "versie": {
                                            "type": "string"
                                        },
                                        "bijgewerkt": {
                                            "type": "string",
                                            "format": "date-time"
                                        },
                                        "items": {
                                            "type": "array",
                                            "items": {
                                                "type": "object"
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Meer dan 60 verzoeken per minuut; zie Retry-After."
                    }
                }
            }
        },
        "/api/claims.json": {
            "get": {
                "operationId": "api_claims",
                "summary": "Elk bedrag en percentage dat de site gebruikt, met bron, peildatum, status en waar het gebruikt wordt.",
                "responses": {
                    "200": {
                        "description": "JSON",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "site": {
                                            "type": "string"
                                        },
                                        "versie": {
                                            "type": "string"
                                        },
                                        "bijgewerkt": {
                                            "type": "string",
                                            "format": "date-time"
                                        },
                                        "items": {
                                            "type": "array",
                                            "items": {
                                                "type": "object"
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Meer dan 60 verzoeken per minuut; zie Retry-After."
                    }
                }
            }
        },
        "/api/glossary.json": {
            "get": {
                "operationId": "api_glossary",
                "summary": "Begrippen met een korte uitleg en de pagina waar ze uitgelegd worden.",
                "responses": {
                    "200": {
                        "description": "JSON",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "site": {
                                            "type": "string"
                                        },
                                        "versie": {
                                            "type": "string"
                                        },
                                        "bijgewerkt": {
                                            "type": "string",
                                            "format": "date-time"
                                        },
                                        "items": {
                                            "type": "array",
                                            "items": {
                                                "type": "object"
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Meer dan 60 verzoeken per minuut; zie Retry-After."
                    }
                }
            }
        },
        "/api/tools.json": {
            "get": {
                "operationId": "api_tools",
                "summary": "Alle rekenhulpen met invoer (JSON Schema), uitvoer, bronnen en de naam van de MCP-tool.",
                "responses": {
                    "200": {
                        "description": "JSON",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "site": {
                                            "type": "string"
                                        },
                                        "versie": {
                                            "type": "string"
                                        },
                                        "bijgewerkt": {
                                            "type": "string",
                                            "format": "date-time"
                                        },
                                        "items": {
                                            "type": "array",
                                            "items": {
                                                "type": "object"
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Meer dan 60 verzoeken per minuut; zie Retry-After."
                    }
                }
            }
        },
        "/api/changes.json": {
            "get": {
                "operationId": "api_changes",
                "summary": "De 50 laatst gepubliceerde of bijgewerkte stukken, nieuwste eerst.",
                "responses": {
                    "200": {
                        "description": "JSON",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "site": {
                                            "type": "string"
                                        },
                                        "versie": {
                                            "type": "string"
                                        },
                                        "bijgewerkt": {
                                            "type": "string",
                                            "format": "date-time"
                                        },
                                        "items": {
                                            "type": "array",
                                            "items": {
                                                "type": "object"
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Meer dan 60 verzoeken per minuut; zie Retry-After."
                    }
                }
            }
        },
        "/api/openapi.json": {
            "get": {
                "operationId": "api_openapi",
                "summary": "OpenAPI 3.1-beschrijving van /api/ en /mcp.",
                "responses": {
                    "200": {
                        "description": "JSON",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Meer dan 60 verzoeken per minuut; zie Retry-After."
                    }
                }
            }
        },
        "/api/health.json": {
            "get": {
                "operationId": "api_health",
                "summary": "Status van de API.",
                "responses": {
                    "200": {
                        "description": "JSON",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Meer dan 60 verzoeken per minuut; zie Retry-After."
                    }
                }
            }
        },
        "/feed.json": {
            "get": {
                "operationId": "feed",
                "summary": "JSON Feed 1.1 met de 30 nieuwste artikelen.",
                "responses": {
                    "200": {
                        "description": "JSON Feed",
                        "content": {
                            "application/feed+json": {
                                "schema": {
                                    "type": "object"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/{pad}.md": {
            "get": {
                "operationId": "markdown",
                "summary": "Markdown-versie van een artikel of pagina: /x/ wordt /x.md.",
                "parameters": [
                    {
                        "name": "pad",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Markdown met YAML-frontmatter",
                        "content": {
                            "text/markdown": {
                                "schema": {
                                    "type": "string"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Geen gepubliceerde pagina op dit adres."
                    }
                }
            }
        },
        "/mcp": {
            "post": {
                "operationId": "mcp",
                "summary": "MCP-server (JSON-RPC 2.0, Streamable HTTP zonder sessie). Methodes: initialize, ping, tools/list, tools/call.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "required": [
                                    "jsonrpc",
                                    "method"
                                ],
                                "properties": {
                                    "jsonrpc": {
                                        "type": "string",
                                        "const": "2.0"
                                    },
                                    "id": {
                                        "type": [
                                            "string",
                                            "integer"
                                        ]
                                    },
                                    "method": {
                                        "type": "string"
                                    },
                                    "params": {
                                        "type": "object"
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "JSON-RPC-antwoord",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "202": {
                        "description": "Notificatie ontvangen"
                    },
                    "429": {
                        "description": "Te veel verzoeken"
                    }
                }
            },
            "get": {
                "operationId": "mcp_get",
                "summary": "Geeft 405: gebruik POST.",
                "responses": {
                    "405": {
                        "description": "Alleen POST"
                    }
                }
            }
        }
    },
    "site": "https://budgetgenie.nl/",
    "versie": "1",
    "bijgewerkt": "2026-12-01T16:22:11+01:00"
}