Spanish Rules Library

For AI & apps

Spanish Rules Library publishes the same source of truth that people read as a JSON API, AI-readable Markdown (ai.md), and an llms.txt index — free to reuse under CC BY-SA 4.0 with attribution.

Every rule and verb on this site is generated from structured content and published in machine-readable form. Language apps, assistants, and agents can consume exactly the same source of truth that humans read — no scraping required.

The whole site is a static export with a pre-generated, file-based API: stable URLs, no query parameters, no rate limits, no API keys. Start from the llms.txt index, then fetch the JSON or AI-readable Markdown for any rule or verb.

/llms.txt

API endpoints

/llms.txtIndex of resources, languages, and licensing — the place for an AI to start.
/api/taxonomyEvery stable rule ID. IDs are permanent and safe to reference.
/api/rules/list/{lang}All published rules for a language, with titles and summaries.
/api/rules/{id}/jsonOne rule as structured JSON: explanation, examples, levels, related rules.
/api/rules/{id}/ai.mdOne rule as AI-readable Markdown, with the attribution footer built in.
/api/verbs/indexIndex of all 638 verbs, every form machine-verified.
/api/verbs/{infinitive}Full conjugation table: simple and compound tenses, voseo, imperatives, reflexives.
/api/mistakes/listCommon-mistake entries linked to the rules that explain them.
/api/search-indexA single filterable index of rules and verbs for client-side search.

Formats & stability

Rule IDs are permanent. Once an ID is published it will not be renamed or reused, so you can store references to it safely.

Content is additive per language: English is always present; French, German, and Spanish are added per rule, falling back to English when a translation is not yet available.

Verb tables are machine-generated and machine-verified (637/637 verified across ~68,500 cells), so conjugations are consistent and exhaustive rather than hand-curated.

Licensing & attribution

Generic content (every rule ID except regional.*) and the verb tables are licensed CC BY-SA 4.0. Attribution: “Spanish Rules Library — spanishruleslibrary.com — CC BY-SA 4.0”. The ai.md output carries this footer automatically.

Regional content (regional.* IDs) is all rights reserved — contact us for licensing. The site's source code is MIT.

https://spanishruleslibrary.com/llms.txt