Subjects stay explicit
Filter with mathematics, physics, informatics, quantitative_reasoning, or biology. A product host such as informatics.problems.cc is not a subject, and a library tag is not a subject.
Problems.cc for developers
An invite-only private technical beta for learning apps, educational games, tutoring tools, and worksheet generators. Mathematics retrieval uses a small first-party allowlist over REST or MCP. Other recognised subjects are ready to query, and they return no problem until questions are classified.
Mathematics is the subject with classified problems. The other slugs are accepted, and a search for them comes back empty.
The only subject with classified problems and a Maths Rating. A live response still includes only problems an admin has allowlisted for that API key.
No topic or rating filter. The example asks for one random text-only mathematics problem.
Sample request. This page does not call the API. Search reference
Sample response
{
"problems": [
{
"id": "00000000-0000-4000-8000-000000000001",
"statement_md": "Sample question written for this documentation. What is $1+1$?",
"answer_format": "multiple_choice",
"choices": [
{
"label": "A",
"option_md": "$2$",
"image_url": null
},
{
"label": "B",
"option_md": "$3$",
"image_url": null
}
],
"images": [],
"subjects": [
{
"slug": "mathematics",
"name": "Mathematics"
}
],
"rating": 1800,
"rating_scale": "maths_rating",
"rating_source": "level_band",
"rating_confidence": "low",
"topics": [
{
"slug": "number_theory",
"name": "Number theory"
}
],
"attribution": {
"text": "Sample written for the Problems.cc API documentation."
},
"requires_diagram": false,
"level_band": "junior",
"provenance": null,
"counted_as_new_problem": true
}
],
"selection": {
"strategy": "random",
"requested": 1,
"returned": 1,
"truncated_by_quota": false
},
"usage": {
"unique_problems_today": 1,
"daily_unique_limit": 100,
"requests_today": 1,
"requests_per_minute": 60,
"requests_this_minute": 1,
"lifetime_problems": 1,
"max_problems_per_request": 10
}
}The statement is an original sample. rating_source: level_band with low confidence is a prior, not a measured rating. Usage numbers illustrate the shape. Your key returns its own limits.
Mathematics also has a shorter draw: POST /problems/random.
The slug is accepted. No quantitative-reasoning problems are classified, so a search returns no_eligible_problem. There is no rating scale.
Difficulty filter unavailable. A returned problem would have rating: null.
Sample request. This page does not call the API. Subject guide
Response
{
"error": {
"code": "no_eligible_problem",
"message": "No eligible problem matches this request."
}
}A live call is HTTP 404 and includes usage when the key is recognised. This sample shows the error only. No sample problem is shown, because this subject has nothing to return.
The slug is accepted. No physics problems are classified, so a search returns no_eligible_problem. There is no rating scale.
Difficulty filter unavailable. A returned problem would have rating: null.
Sample request. This page does not call the API. Subject guide
Response
{
"error": {
"code": "no_eligible_problem",
"message": "No eligible problem matches this request."
}
}A live call is HTTP 404 and includes usage when the key is recognised. This sample shows the error only. No sample problem is shown, because this subject has nothing to return.
The slug is accepted. No informatics problems are classified, so a search returns no_eligible_problem. There is no rating scale.
Difficulty filter unavailable. A returned problem would have rating: null.
Sample request. This page does not call the API. Subject guide
Response
{
"error": {
"code": "no_eligible_problem",
"message": "No eligible problem matches this request."
}
}A live call is HTTP 404 and includes usage when the key is recognised. This sample shows the error only. No sample problem is shown, because this subject has nothing to return.
The slug is accepted. No biology problems are classified, so a search returns no_eligible_problem. There is no rating scale.
Difficulty filter unavailable. A returned problem would have rating: null.
Sample request. This page does not call the API. Subject guide
Response
{
"error": {
"code": "no_eligible_problem",
"message": "No eligible problem matches this request."
}
}A live call is HTTP 404 and includes usage when the key is recognised. This sample shows the error only. No sample problem is shown, because this subject has nothing to return.
These are product shapes on top of one retrieval API. They are not customer integrations, and a tile does not mean that subject currently returns problems.
Concept
Draw a text-only mathematics problem near a rating and render the statement. The API will not tell you whether the player was right.
Mathematics queries are the path that can return a problem today.
Concept
Request a small batch, skip ids you have already printed, and keep the attribution line on the sheet.
Use search with limit up to the key’s per-request maximum.
Concept
Load one problem by the id you stored, then discuss the statement. Fetching it again the same UTC day does not spend another unique-problem slot.
The id is the UUID from the API, not the public problem code.
Concept
A physics product can use the same retrieval shape later. Today a physics filter is valid and comes back empty.
Concept only. Physics has no classified problems yet.
Concept
Informatics is the academic subject. The informatics.problems.cc host is a separate product surface, not an API subject.
Concept only. Informatics has no classified problems yet.
Concept
The subject slug is quantitative_reasoning. It is not the quant product host, and it has no rating scale.
Concept only. No classified problems yet.
Filter with mathematics, physics, informatics, quantitative_reasoning, or biology. A product host such as informatics.problems.cc is not a subject, and a library tag is not a subject.
Maths Rating runs from 400 to 4000. Other subjects come back with rating: null. A level band is an editorial stage, not an age and not a difficulty.
You receive Markdown, choices, images, topics, and provenance. You do not receive the correct choice or a solution, so the API does not grade for you.
Render attribution.text with the problem. A question can be on the website and still be absent from the API. Even a valid key can get no_eligible_problem.
1
An admin approves access and gives you a pcc_ secret. There is no self-serve signup.
2
POST /api/v1/problems/search or /api/mcp with the bearer key. Keep the key off the browser.
3
Show the statement and attribution.text. Store the UUID if you want to fetch that problem again.
An admin issues keys. There is no public signup. Write to hello@problems.cc and describe the product you want to build.
No. The key is a bearer secret and has to stay on your server. The pages on this site never send a live request.
The API recognises mathematics, quantitative_reasoning, physics, informatics, and biology. Mathematics is the only subject with classified problems and a Maths Rating. A key still receives only problems on its redistribution allowlist, so a valid mathematics query can return no_eligible_problem.
You can send those subject slugs. No problems are classified for them yet, so the response is no_eligible_problem. Informatics is the subject slug. coding and quant are product hosts, not subjects.
No. Maths Rating, from 400 to 4000, applies to mathematics. Other subjects return rating null. A rating filter is rejected when any requested subject has no scale. difficulty_ordered is rejected when none of the requested subjects has a scale. A level_band value is an editorial stage, not a rating and not a school year.
No. Responses include the statement, choices, images, topics, and attribution. They omit answers, solutions, and which multiple-choice option is correct. This API does not grade.
Each key has its own requests-per-minute cap and a daily cap on unique problems, both set by an admin. The UTC day resets at 00:00 UTC. Repeating a problem the same day does not take another unique slot. There is no bulk export.
Show attribution.text with every problem you render. The allowlist is the permission to redistribute that problem. Being able to see a question elsewhere on Problems.cc does not make it available through the API.
No. This is a private technical beta. A key receives only explicitly allowlisted first-party problems. The public site is not the API catalogue, and there is no bulk export. Using a key means you accept the Developer API beta terms.
Yes. The same key, allowlist, and quotas work at https://www.problems.cc/api/mcp. Send the bearer header from a client that can attach static authentication. Interactive OAuth is not implemented.
Prefer images[].url and choices[].image_url; those Storage URLs are absolute and fetchable from a server. Markdown paths that start with / are site-relative to https://www.problems.cc, for example https://www.problems.cc/library/how-many-shapes/hms-003.svg. Website paths remain behind Bot Protection for non-browser clients.
The reference matches the routes that exist today.