Discover/runoob.com API
live

runoob.com APIrunoob.com

Access Runoob.com programming tutorials via API. Browse categories, retrieve full tutorial content, search lessons, and extract metadata across thousands of coding guides.

Endpoints
7
Updated
3mo ago
Try it

No input parameters required.

api.parse.bot/scraper/bf324a74-606a-4bf2-9a08-01dcb9e3caf5/<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/bf324a74-606a-4bf2-9a08-01dcb9e3caf5/list_homepage_categories' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 7 totalclick to expand

Scrapes the homepage to return all top-level tutorial categories with their identifiers.

Input

No input parameters required.

Response
{
  "type": "object",
  "fields": {
    "data": "array of category objects with name and category_id",
    "status": "string indicating success"
  },
  "sample": {
    "data": [
      {
        "name": "Python / 数据科学",
        "category_id": "python_data"
      },
      {
        "name": "AI / 智能开发",
        "category_id": "ai"
      },
      {
        "name": "前端开发",
        "category_id": "frontend"
      }
    ],
    "status": "success"
  }
}

About the runoob.com API

The Runoob.com API exposes 7 endpoints for extracting structured data from one of the largest Chinese-language programming tutorial sites. Use list_homepage_categories to enumerate all top-level tutorial categories, get_tutorial_page_content to retrieve full lesson text and navigation links, or search_tutorials to query across thousands of coding topics including HTML, CSS, Python, and more.

Browse and Navigate Tutorial Content

list_homepage_categories returns an array of category objects, each with a name and category_id, covering every top-level subject area on the Runoob.com homepage. list_tutorials_by_category builds on this by returning the full list of tutorials nested under each category; pass a category_name string (e.g. 'Python' or 'HTML') to filter results case-insensitively, or omit it to retrieve all tutorials across all categories at once. Each result in the tutorials array is scoped to its parent category name.

Retrieve Tutorial Structure and Page Content

get_tutorial_directory accepts a url parameter — either a full URL or a relative path like 'html/html-tutorial.html' — and returns the sidebar navigation for that tutorial as a structured directory array of topic links. This gives you the complete table of contents for any tutorial section without loading individual pages. get_tutorial_page_content fetches the main content area of any tutorial page, returning title, content text, and a navigation_links array containing previous and next page links for sequential traversal.

Search and Metadata

search_tutorials takes a query string and returns an array of matching results, each with title, url, and description fields. This is useful for building search interfaces or cross-referencing topics across the site's catalog. get_tutorial_metadata returns page-level SEO fields — title, description, keywords, and canonical_url — for any tutorial URL, which can be used to index or classify content programmatically. get_top_navbar_links retrieves the top navigation bar as an array of name/url pairs.

Coverage Notes

All endpoints operate against Runoob.com's publicly accessible tutorial pages. Content is primarily in Chinese (Simplified), reflecting the site's audience. Interactive exercises, quizzes, and user account data (login-required sections) are not exposed by these endpoints.

Common use cases
  • Build a Chinese-language programming tutorial aggregator using list_tutorials_by_category to organize content by subject.
  • Generate a full course index for any Runoob tutorial using get_tutorial_directory to extract the sidebar table of contents.
  • Automate content auditing by iterating pages with get_tutorial_page_content and collecting title and content fields.
  • Create a cross-topic search tool for developers using search_tutorials with keyword queries like 'CSS grid' or 'Django'.
  • Index tutorial SEO metadata at scale using get_tutorial_metadata to capture keywords, description, and canonical_url.
  • Map the full Runoob site structure by combining list_homepage_categories with get_top_navbar_links output.
  • Build sequential lesson navigation by chaining navigation_links returned from get_tutorial_page_content.
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 Runoob.com have an official public developer API?+
No. Runoob.com does not publish a public developer API or documented data access layer. This Parse API provides structured access to the site's publicly available tutorial content.
What does `get_tutorial_page_content` return, and how is it different from `get_tutorial_directory`?+
get_tutorial_page_content returns the main lesson body — title, full content text, and a navigation_links array for previous/next pages. get_tutorial_directory returns only the sidebar navigation structure (a directory array of topic links) for the broader tutorial section, not the individual page text.
Does `list_tutorials_by_category` support pagination or return all results at once?+
It returns all tutorials for the matched category in a single response. There is no pagination parameter — the data array contains every tutorial listed under the requested category on the homepage.
Does the API expose interactive exercises, code runners, or user quiz results from Runoob.com?+
Not currently. The API covers tutorial categories, page content, directory structure, metadata, and search results. Interactive coding exercises and user-account-gated features are not included. You can fork this API on Parse and revise it to add an endpoint targeting those page sections if they are publicly accessible.
Is the tutorial content returned in English or Chinese?+
Runoob.com is a Chinese-language site, so content, title, description, and keywords fields are primarily in Simplified Chinese. Topic names like programming languages (Python, HTML, CSS) appear in their standard Latin forms within the content.
Page content last updated . Spec covers 7 endpoints from runoob.com.
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.