Discover/docs API
live

docs APIdocs.gl

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

Endpoint health
verified 4d ago
search_functions
get_function_detail
get_function_list
get_function_list_by_version
get_functions_by_category
5/5 passing latest checkself-healing
Endpoints
5
Updated
26d ago

What is the docs 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.

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.
Call it over HTTPgrab 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'
Python SDK · recommended

Typed, relational, agent-ready

A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.

  • Fully typed · autocompletes
  • Objects link to objects
  • Typed errors & pagination

Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:

uv add parse-sdk
uv run parse init
uv run parse add --marketplace docs-gl-api

uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.

"""docs.gl SDK — OpenGL/GLES function documentation lookup workflow."""
from parse_apis.docs_gl_api import DocsGL, VersionPrefix, FunctionNotFound

client = DocsGL()

# Browse function categories to understand the API surface
for cat in client.categories.list(limit=3):
    print(cat.category, f"({len(cat.functions)} functions)")
    for fn in cat.functions[:2]:
        print(f"  {fn.name} versions={fn.versions}")

# Search for texture-binding functions by substring match
result = client.searchresults.search(query="BindTexture", limit=1).first()
if result:
    print(result.name, result.version, result.path)

# Get full documentation for a specific function using the enum
func = client.functions.get(function_name="glDrawArrays", version=VersionPrefix.GL4)
print(func.name, func.signature)
for param in func.parameters:
    print(f"  {param.name}: {param.description[:60]}")

# Navigate from summary to detail via resource method
summary = client.functionsummaries.list(limit=1).first()
if summary:
    detail = summary.details()
    print(detail.name, detail.url)
    for related in detail.see_also[:3]:
        print(f"  see also: {related.name}")

# List function names available in OpenGL ES 3.x
for name in client.functionsummaries.list_by_version(version=VersionPrefix.ES3, limit=5):
    print(name)

# Handle a missing function gracefully
try:
    client.functions.get(function_name="glNonExistent", version=VersionPrefix.GL4)
except FunctionNotFound as exc:
    print(f"not found: {exc.function_name}")

print("exercised: categories.list / searchresults.search / functions.get / functionsummaries.list / details / list_by_version")
All endpoints · 5 totalmissing one? ·

Retrieves the complete catalog of OpenGL/GLES functions with the version strings each appears in. Returns every function known to docs.gl. The result set is large (4000+ entries) and not paginated server-side; a single request fetches everything.

Input

No input parameters required.

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

About the docs API

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.

Reliability & maintenanceVerified

The docs API is a managed, monitored endpoint for docs.gl — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when docs.gl changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official docs.gl API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
4d ago
Latest check
5/5 endpoints passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
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,000100 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 →
nvidia.com API
nvidia.com API
soliditylang.org API
Access comprehensive Solidity documentation, search language references, and browse blog posts to stay updated on development news. Query compiler bug data filtered by version to identify known issues and compatibility concerns across smart contract projects.
textures.com API
Search and browse millions of textures by category or keyword to find high-resolution texture maps with detailed pricing and specifications. Discover the latest content additions, explore free samples, and access complete metadata including available resolutions and texture maps for your projects.
fonts.google.com API
Search and browse thousands of free, open-source fonts with advanced filtering and sorting options to find the perfect typeface for your project. Access detailed metadata for each font including style variants, character sets, and design specifications.
docs.opensearch.org API
Search OpenSearch documentation across multiple versions, retrieve specific page content, discover breaking changes, and navigate the docs structure all from a single interface. Instantly find answers by searching the docs or get a complete overview of available versions and site navigation.
git-scm.com API
Access comprehensive Git documentation, browse command references across different versions, and explore chapters from the Pro Git book. Search Git documentation and glossary terms to quickly find answers about Git commands and concepts.
dumpspace.spuckwaffel.com API
Access detailed technical data for Unreal Engine and Unity games, including class structures, functions, enums, memory offsets, and inheritance hierarchies to support reverse engineering and modding projects. Search across thousands of game dumps to find specific classes, structs, and functions along with their documentation and offset information.
sketchfab.com API
Search and browse 3D models on Sketchfab, including filtering by category, license, animation, and downloadability. Retrieve detailed model metadata, creator profiles, collections, thumbnails, tags, and viewer configuration options.