Apps & Software API · Live

GitHub AI Dataset & Documentation Collection API

Extract structured documentation sections, code snippets, file trees, and issue QA instruction-tuning pairs from GitHub repositories and issues for training AI models.

No credit card required · Pay only for what you use

Price
$0.0022 / req
Rate limit
60 req/min
Output
Structured JSON
Modes
Sync & async
POSThttps://api.dataguru.cc/api/v1/github/dataset-collection
curl -X POST "https://api.dataguru.cc/api/v1/github/dataset-collection" \
  -H "Authorization: Api-Key YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"geolocation": "US", "target": "example"}'
Response · 200 OK
{
  "dataset_type": "documentation_and_code",
  "url": "https://example.com/...",
  "date": "2026-01-01T12:00:00Z",
  "has_readme": false,
  "files_count": 0,
  "files": [
    "string"
  ],
  "total_sections": 0,
  "records": [
    {
      "instruction": "string",
      "context": "string",
      "code_examples": [
        "string"
      ]
    }
  ],
  "title": "string",
  "author": "string",
  "status": "string",
  "instruction": "string",
  "input": "string",
  "output": "string",
  "all_comments": [
    {
      "text": "string",
      "code_blocks": [
        "string"
      ]
    }
  ],
  "note": "string",
  "_metadata": {
    "request_id": "3f6c1a2e-8b4d-4c1e-9a7f-2d5e6b7c8d9e",
    "execution_time_ms": 842,
    "endpoint": "GitHub AI Dataset & Documentation Collection",
    "mode": "live",
    "format": "json",
    "timestamp": "2026-01-01T12:00:00+00:00"
  }
}

Data

GitHub AI Dataset & Documentation Collection API response (structured JSON)

Every response follows the same schema, so you can map it once and rely on it.

Response fields

dataset_typeurldatehas_readmefiles_countfilestotal_sectionsrecordstitleauthorstatusinstructioninputoutputall_commentsnote

Request parameters

NameTypeDescription
geolocationstringOptional two-letter country code to fetch the page from, e.g. US, GB
targetrequiredstringGitHub repository URL (e.g. psf/requests) or issue URL (e.g. psf/requests/issues/7650)

Features

GitHub AI Dataset & Documentation Collection API features that make scraping easy

No proxies or blocks to manage

DataGuru handles proxies, retries and anti-bot measures for you. You just send a request.

Clean, structured JSON

Every response uses the same 16 fields, so your parser never breaks.

One simple request

Send target and get results back. No browser automation or HTML parsing on your side.

Sync or async

Get the data in the response, or add ?async=true and poll the job for long-running requests.

Built to scale

Up to 60 requests per minute and 10,000 per day on this endpoint.

Pay only for what you use

No subscription or monthly minimum. Usage is deducted from your prepaid balance.

Use cases

What you can build with the GitHub AI Dataset & Documentation Collection API

Data pipelines

Feed fresh, structured data straight into your warehouse or ETL jobs.

Dashboards & reporting

Keep internal dashboards current without manual exports.

Product features

Power features in your app with data you would otherwise have to scrape.

Research & analysis

Collect the dataset you need for analysis in minutes.

Monitoring & alerts

Poll on a schedule and react when something changes.

AI & LLM workflows

Ground models and agents in live, structured data.

Who it's for

Built for teams of every size and background

  • Data engineers
  • Product teams
  • Analysts
  • Startups
  • Agencies
  • Researchers
  • Automation builders
  • AI teams

Get started

Start using the GitHub AI Dataset & Documentation Collection API in minutes

  1. 1

    Create a free account

    Sign up in seconds and get $1.00 of free balance to test with.

  2. 2

    Copy your API key

    Generate a key in the Developer Portal and send it in the Authorization header.

  3. 3

    Send a request

    Call POST /api/v1/github/dataset-collection with your parameters.

  4. 4

    Get structured JSON

    Use the response straight away in your app, spreadsheet or pipeline.

Pricing

Transparent & simple pricing

No subscription, no monthly minimum. Add funds to your balance and pay only for the requests you make.

Pay as you go

GitHub AI Dataset & Documentation Collection

$0.0022 / req

  • $1.00 free balance on sign-up
  • 60 requests per minute
  • 10,000 requests per day
  • Sync and async requests

FAQ

Frequently asked questions

The GitHub AI Dataset & Documentation Collection API costs $0.0022 per successful request, deducted from your prepaid balance. There is no subscription or monthly minimum. New accounts get $1.00 of free balance to try it.

More APIs

Other APIs you might need

Try the GitHub AI Dataset & Documentation Collection API for free!

Create an account and get $1.00 of free balance to test it. No credit card required.