Standard Response Structure
All TamborraData API responses return JSON with consistent structures based on the endpoint.Content Type
All responses use theapplication/json content type:
Success Responses
Years Endpoint
Array of available years in descending order, including “global” for all-time statistics.
Statistics Endpoint
Indicates if the system is currently being updated. When
true, limited data may be available.The year for which statistics are returned (e.g., “2024” or “global”).
Total number of statistical categories available for the year.
Object containing statistics grouped by category. Each category contains an array with:
category(string): Category identifierpublic_data(array|number|string): The actual statistical datasummary(string): Human-readable summary in Spanish
Category Endpoint
Array of category data objects with:
category(string): Category identifierpublic_data(varies): Category-specific data structuresummary(string): Descriptive summary of the data
Companies Endpoint
Array of school/company names that have participated in the event.
Participants Endpoint
Array of participant records, ordered by year (descending). Each record contains:
name(string): Full name of the participantschool(string): School/company nameyear(number): Year of participation
Error Responses
Error responses have a simple structure:Human-readable error message describing what went wrong.
Technical details about the error (present in some 500 errors).
Data Types
Public Data Structures
Thepublic_data field varies by category:
Array of Objects (Most Common)
Array of Strings
Single Number
Complex Nested Objects
TypeScript Types
The API source code includes TypeScript definitions:Years Response
Statistics Response
Category Response
Companies Response
Participants Response
Error Response
Field Descriptions
Common Fields
Participant Fields
Response Examples by Category
Top Names
Schools Evolution
Names Diversity
New Names by Year
Null Handling
The API may returnnull for data fields when:
- No data is available
- Database query fails
- System is updating
null values:
Pagination
The API currently does not support pagination. All results are returned in a single response./api/years: Returns all available years/api/companies: Returns all companies/api/statistics: Returns all categories for a year/api/participants: Returns all matching participants
Caching Headers
The API does not currently set explicit caching headers. Implement client-side caching for optimal performance:Data Encoding
All text data is UTF-8 encoded and may include:- Spanish characters (á, é, í, ó, ú, ñ)
- Basque characters (special letters and diacritics)
- International names (various Unicode characters)