Discover/planetmath.org API
live

planetmath.org APIplanetmath.org

Access PlanetMath encyclopedia entries, MSC classifications, and keyword search across thousands of mathematical definitions and theorems via 7 endpoints.

Endpoints
7
Updated
14d ago
Try it

No input parameters required.

api.parse.bot/scraper/a75dd142-0fda-4d83-8209-6ebcb3861cf8/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/a75dd142-0fda-4d83-8209-6ebcb3861cf8/get_subject_index' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 7 totalclick to expand

Scrape the full MSC (Mathematics Subject Classification) subject index, returning all top-level subject categories and the entries listed under them.

Input

No input parameters required.

Response
{
  "type": "array",
  "fields": {
    "entries": "array of objects with canonical_name and title",
    "category_id": "string, the HTML anchor ID for the category",
    "category_code": "string, the MSC numeric code (e.g. '03', '11')",
    "category_name": "string, human-readable category name with underscores"
  },
  "sample": {
    "data": [
      {
        "entries": [
          {
            "title": "AdHoc",
            "canonical_name": "AdHoc"
          }
        ],
        "category_id": "#00_General",
        "category_code": "00",
        "category_name": "00_General"
      },
      {
        "entries": [
          {
            "title": "Biconditional",
            "canonical_name": "Biconditional"
          }
        ],
        "category_id": "#03_Mathematical_logic_and_foundations",
        "category_code": "03",
        "category_name": "03_Mathematical_logic_and_foundations"
      }
    ],
    "status": "success"
  }
}

About the planetmath.org API

The PlanetMath API provides 7 endpoints for retrieving mathematical encyclopedia entries, browsing the MSC (Mathematics Subject Classification) hierarchy, and searching by keyword. The get_entry endpoint returns full article content — both HTML and plain text — along with MSC codes, related topics, and defined terms for any entry by its canonical name. You can also traverse the roughly 60 top-level MSC categories or pull an alphabetical index covering characters 0–9 and A–Z.

Entry Retrieval and Content

The get_entry endpoint accepts a canonical_name slug (case-sensitive, e.g. axiom or FermatsLittleTheorem) and returns title, content_html, content_text, keywords, and a metadata object. The metadata includes msc classification codes, related_topic links, define arrays listing terms the entry formally defines, and entry_type. For downstream use cases that only need graph edges between concepts, get_entry_related_topics returns just related_topic and define arrays without fetching full article content.

MSC Classification Navigation

get_msc_hierarchy returns the complete list of approximately 60 top-level MSC codes and names (e.g. 11_Number_theory, 54_General_topology). get_subject_index expands each category to include all entries listed under it, returning category_code, category_id, category_name, and an entries array of canonical_name/title pairs. get_entries_by_msc_category narrows this to a single category: pass a category_code string such as '03' or '11', and leading zeros are matched flexibly so both '3' and '03' resolve to Mathematical Logic.

Search and Alphabetical Browse

search_entries accepts a space-separated query string and applies AND logic — every word must appear as a substring in the entry title or slug. Matching is case-insensitive. Results include title and canonical_name. For full corpus browsing, get_alphabetical_index returns all entries keyed by their first character, covering letters A–Z and digits 0–9, with each bucket containing canonical_name and title objects.

Common use cases
  • Build a concept dependency graph using get_entry_related_topics to trace related_topic and define links across entries
  • Populate a math study tool with full theorem and definition text using content_text from get_entry
  • Index PlanetMath content by MSC code for a subject-specific mathematics search engine using get_entries_by_msc_category
  • Generate flashcard decks from keywords and content_text fields returned by get_entry
  • Enumerate all encyclopedia entries across a topic area using get_subject_index to retrieve entries per category_code
  • Power an autocomplete or search feature with search_entries returning matching canonical_name and title pairs
  • Audit coverage of a mathematical subfield by listing all entries under a given MSC code via get_entries_by_msc_category
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does PlanetMath have an official developer API?+
PlanetMath does not publish an official developer API or documented public REST endpoints for its encyclopedia data.
What does `get_entry` return beyond the article text?+
In addition to content_html and content_text, the response includes a metadata object with msc classification codes, a related_topic array, a define array listing terms formally introduced in the entry, and an entry_type field. It also returns a keywords array drawn from the page's meta tags.
Does the search endpoint support fuzzy or partial-word matching?+
The search_entries endpoint performs case-insensitive substring matching against lowercased entry titles and slugs. All words in a multi-word query must match (AND logic). Fuzzy matching, stemming, and relevance ranking are not currently available. You can fork this API on Parse and revise it to add a fuzzy or ranked search endpoint.
Does the API expose user-contributed discussion threads, corrections, or revision history for entries?+
Not currently. The API covers entry content, MSC metadata, related topics, and defined terms. Discussion threads, correction records, and edit history are not exposed in any of the 7 endpoints. You can fork this API on Parse and revise it to add an endpoint targeting that content.
How should I handle the `canonical_name` slug when it is unknown?+
Use search_entries with a keyword query to retrieve matching canonical_name and title pairs, then pass the canonical_name to get_entry. Alternatively, get_alphabetical_index or get_entries_by_msc_category enumerate entries with their slugs without requiring a prior search.
Page content last updated . Spec covers 7 endpoints from planetmath.org.
Related APIs in EducationSee all →
arxiv.org API
Search and discover academic research papers on arXiv using keywords, authors, titles, categories, and dates, then access detailed metadata for any paper. Browse the complete arXiv category taxonomy to explore research across different scientific disciplines.
maxpreps.com API
Access high school sports data from MaxPreps. Search for schools, retrieve team rosters and schedules, look up athlete profiles, and browse national or state rankings across all sports.
athletic.net API
Search and analyze cross country and track & field performance data across the US, including athlete profiles, meet results, team rosters, and rankings. Access comprehensive meet information, historical records, and state-level competition data to track athlete progress and discover top performers.
allaboutcircuits.com API
Access educational electronics content from All About Circuits, including technical articles, circuit diagrams, textbook volumes, and forum discussions organized by category. Search and browse the latest resources, view detailed articles, explore engineering tools, and find answers across their community forums.
illinoisreportcard.com API
Search and analyze comprehensive performance data for Illinois public schools, districts, and the state, including academic achievements in ELA, math, and science, student demographics, teacher and administrator information, school finances, and environmental conditions. Compare schools side-by-side, track growth metrics, and access accountability ratings and school highlights to make informed decisions about education quality.
noor-book.com API
Search and discover books across 1,800+ categories in the Noor Book library, retrieving detailed information about titles, authors, biographies, and book metadata. Access comprehensive author profiles and browse one of the largest Arabic and English digital book collections with over 289,000 authors.
quizbowlpackets.com API
Search and browse thousands of quizbowl question sets across all competition levels, then access detailed metadata like difficulty, subjects, and download links for each packet. Find the perfect practice materials for High School, Collegiate, Middle School, or Pop Culture quizbowl competitions.
amberstudent.com API
Search student accommodation listings across popular cities and access comprehensive property information including room types, pricing trends, and tenant reviews. Get detailed insights into student housing options to compare amenities, prices, and community feedback all in one place.