{
    "openapi": "3.1.0",
    "info": {
        "title": "ikinvesteerslim.nl API",
        "version": "1",
        "description": "Openbare, alleen-lezen API van ikinvesteerslim.nl. Geen sleutel nodig. Documentatie: https://ikinvesteerslim.nl/voor-ai/",
        "contact": {
            "email": "redactie@ikinvesteerslim.nl"
        }
    },
    "servers": [
        {
            "url": "https://ikinvesteerslim.nl"
        }
    ],
    "paths": {
        "/api/facts.json": {
            "get": {
                "summary": "Profiel van de site, rubrieken, auteurs, rekenhulpen en kerncijfers met bron.",
                "responses": {
                    "200": {
                        "description": "JSON",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Meer dan 60 verzoeken per minuut"
                    }
                }
            }
        },
        "/api/content.json": {
            "get": {
                "summary": "Index van alle gepubliceerde artikelen en pagina's, 100 per pagina.",
                "responses": {
                    "200": {
                        "description": "JSON",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Meer dan 60 verzoeken per minuut"
                    }
                },
                "parameters": [
                    {
                        "name": "pagina",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1
                        }
                    }
                ]
            }
        },
        "/api/answers.json": {
            "get": {
                "summary": "Vragen en antwoorden die zichtbaar op de site staan.",
                "responses": {
                    "200": {
                        "description": "JSON",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Meer dan 60 verzoeken per minuut"
                    }
                }
            }
        },
        "/api/claims.json": {
            "get": {
                "summary": "Bedragen en percentages met bron, peildatum en status.",
                "responses": {
                    "200": {
                        "description": "JSON",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Meer dan 60 verzoeken per minuut"
                    }
                }
            }
        },
        "/api/tools.json": {
            "get": {
                "summary": "Rekenhulpen met invoerschema en de naam van de MCP-tool.",
                "responses": {
                    "200": {
                        "description": "JSON",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Meer dan 60 verzoeken per minuut"
                    }
                }
            }
        },
        "/api/changes.json": {
            "get": {
                "summary": "De 50 laatst gepubliceerde of bijgewerkte stukken.",
                "responses": {
                    "200": {
                        "description": "JSON",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Meer dan 60 verzoeken per minuut"
                    }
                }
            }
        },
        "/api/health.json": {
            "get": {
                "summary": "Statuscontrole.",
                "responses": {
                    "200": {
                        "description": "JSON",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Meer dan 60 verzoeken per minuut"
                    }
                }
            }
        },
        "/feed.json": {
            "get": {
                "summary": "JSON Feed 1.1 met de 30 nieuwste artikelen.",
                "responses": {
                    "200": {
                        "description": "JSON",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Meer dan 60 verzoeken per minuut"
                    }
                }
            }
        },
        "/mcp": {
            "post": {
                "summary": "MCP-server (Model Context Protocol, Streamable HTTP, stateless). JSON-RPC 2.0: initialize, tools/list, tools/call, ping.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "required": [
                                    "jsonrpc",
                                    "method"
                                ],
                                "properties": {
                                    "jsonrpc": {
                                        "const": "2.0"
                                    },
                                    "id": {
                                        "type": [
                                            "string",
                                            "integer"
                                        ]
                                    },
                                    "method": {
                                        "type": "string"
                                    },
                                    "params": {
                                        "type": "object"
                                    }
                                }
                            },
                            "example": {
                                "jsonrpc": "2.0",
                                "id": 1,
                                "method": "tools/call",
                                "params": {
                                    "name": "bereken_box3",
                                    "arguments": {
                                        "bank": 25000,
                                        "overig": 60000
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "JSON-RPC-antwoord"
                    },
                    "202": {
                        "description": "Notificatie ontvangen"
                    }
                }
            }
        }
    }
}