Discover/docs.gl API
live

docs.gl APIdocs.gl

Access OpenGL and GLES function documentation, signatures, parameters, version support, and categories via 5 structured endpoints backed by docs.gl.

Endpoints
5
Updated
14d ago
Try it

No input parameters required.

api.parse.bot/scraper/ac3fb051-6c34-4db6-8696-b3b4482a392d/<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/ac3fb051-6c34-4db6-8696-b3b4482a392d/get_function_list' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 5 totalclick to expand

Get a list of all OpenGL/GLES functions and their supported versions. Returns every function known to docs.gl with the version strings each appears in.

Input

No input parameters required.

Response
{
  "type": "object",
  "fields": {
    "data": "array of objects, each with 'name' (string) and 'versions' (array of version strings like 'gl2.1', 'gl4.5', 'es3.0')",
    "status": "string, always 'success'"
  },
  "sample": {
    "data": [
      {
        "name": "glAccum",
        "versions": [
          "gl2.1",
          "gl3.0",
          "gl3.1"
        ]
      },
      {
        "name": "glActiveTexture",
        "versions": [
          "gl2.1",
          "gl3.0",
          "gl3.1"
        ]
      }
    ],
    "status": "success"
  }
}

About the docs.gl API

The docs.gl API exposes OpenGL and GLES reference documentation across 5 endpoints, returning function signatures, parameter descriptions, error conditions, version availability, and sidebar category groupings. The get_function_detail endpoint delivers the full documentation record for any named function — including its title, signature, parameters, notes, and see-also links — under a specific version context such as gl4, es3, or gl2.

Function Coverage and Version Filtering

The get_function_list endpoint returns every function known to docs.gl as an array of objects, each carrying a name and a versions array containing strings like gl2.1, gl4.5, or es3.0. If you need only the functions available in a particular generation of the API, get_function_list_by_version accepts a version prefix (gl2, gl3, gl4, es2, es3) and returns a sorted array of matching function names. The prefix match covers all sub-versions beneath it — supplying gl4 returns functions from gl4.0 through gl4.5.

Detailed Function Documentation

get_function_detail is the core lookup endpoint. Supply a function_name (e.g. glDrawArrays, glBindTexture) and an optional version context, and the response object includes name, version, url, title, signature, a parameters array (each entry has name and description), description, notes, errors, examples, version support details, and see_also links. Not every function exists under every version prefix — legacy GL2-only functions like glLightfv are absent from gl4 pages — so the version parameter should match where the function actually lives.

Search and Category Navigation

search_functions performs a case-insensitive substring match against function names across all versions and returns objects containing name, a specific version string (e.g. gl4.5), and a path URL segment. This is useful for partial-name lookups when the exact function name is uncertain. get_functions_by_category returns the full sidebar taxonomy as an array of objects, each with a category string (e.g. Textures, Rendering, Frame Buffers) and a functions array whose entries carry name, href, and versions. This mirrors the organizational structure used in the docs.gl navigation.

Common use cases
  • Build an IDE extension that surfaces OpenGL function signatures and parameter docs inline as developers type.
  • Generate version-specific cheat sheets by querying get_function_list_by_version for gl4 or es3 and formatting the sorted output.
  • Populate autocomplete in a graphics shader editor using search_functions substring matches against partial function names.
  • Create a diff view of which functions were added between OpenGL versions by comparing get_function_list_by_version results for gl3 and gl4.
  • Organize a learning resource by iterating get_functions_by_category to group functions under Textures, Rendering, and Frame Buffers headings.
  • Validate that a function exists in a target OpenGL ES version before shipping mobile graphics code, using the versions array from get_function_detail.
  • Build a static documentation mirror or offline reference tool by bulk-fetching get_function_detail for every function in get_function_list.
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 docs.gl have an official developer API?+
No. docs.gl does not publish an official developer API or documented data endpoint. This Parse API provides structured programmatic access to the same reference content available on the site.
What does get_function_detail return, and does it cover all OpenGL versions for a given function?+
It returns a single documentation record scoped to the version context you specify: name, title, signature, a parameters array (each with name and description), description, notes, errors, examples, version support info, and see_also links. A function that exists in gl2 but not gl4 will return no result when queried with version set to gl4. If you are unsure where a function appears, check the versions array from get_function_list first.
Does search_functions return the full documentation or just identifiers?+
search_functions returns lightweight match objects — name, a specific version string like gl4.5, and a path segment — not full documentation. To retrieve signatures, parameter descriptions, and notes, pass the function name to get_function_detail after identifying it through search.
Does the API expose the extended descriptions or usage examples from the GLSL built-in functions?+
Not currently. The API covers OpenGL and OpenGL ES C API functions indexed by docs.gl, not GLSL shader language built-ins. You can fork it on Parse and revise to add an endpoint targeting the GLSL reference pages.
Can I filter get_functions_by_category to return only one specific category?+
Not currently. The endpoint returns all categories and their functions in a single response. You can filter client-side by matching the category string (e.g. 'Textures') against the returned array. You can also fork the API on Parse and revise it to add a category-filter parameter.
Page content last updated . Spec covers 5 endpoints from docs.gl.
Related APIs in Developer ToolsSee 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.
alienvault.com API
Search and analyze global threat intelligence data including indicators of compromise, threat pulses, and adversary profiles from the Open Threat Exchange community. Monitor recent security alerts and access detailed information about threats and adversaries to strengthen your cybersecurity defenses.
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.
bazaardb.gg API
Search and retrieve comprehensive data about The Bazaar game cards, including items, skills, merchants, trainers, monsters, and events with full details like tiers, attributes, enchantments, and tooltips. Quickly find the specific card information you need to optimize your gameplay strategy and deck building.
icons8.com API
Search for millions of icons across different visual styles like colorful, pattern-based, and minimalist designs to find the perfect icon for your project. Discover and retrieve icons in your preferred style to enhance your designs and applications.
wynncraft.com API
Access detailed Wynncraft game information to look up item metadata and search across the complete item database, retrieve player statistics and character inventories, and browse guild information and global search results. Use this data to compare gear, track player progress, analyze guild rosters, or build tools for the Wynncraft community.
cursor.directory API
Search and discover AI cursor rules, MCP servers, and job listings organized by category to enhance your development workflow. Browse detailed information about each rule and server to find the tools and configurations that best fit your needs.
smstome.com API
Browse temporary phone numbers from countries around the world and read incoming SMS messages in real time. List available numbers by country, retrieve messages sorted newest to oldest, and search message history by sender or content.