Playground Sign in Start free
Recipe Developer and reference

GitHub scraper API: search results and public pages as JSON

Send any GitHub page URL with recipe=github and get name, stars, language and 7 more fields as JSON. No selectors to write, no proxies to pick.

  • 2 page types
  • 10 fields
  • 5 credits a page · $0.50 per 1,000
  • Working · 100% in 7 days

5,000 free credits for 7 days, no card.

recipe=github/listing
curl -G 'https://api.ujeebu.com/scrape' \
  -H "ApiKey: $UJEEBU_API_KEY" \
  --data-urlencode 'url=https://github.com/search?q=web+scraper&type=repositories' \
  --data-urlencode 'recipe=github/listing'
200 OK · JSON
{
    "result": {
        "repositories": [
            {
                "name": "AhmadIbrahiim/Website-downloader",
                "stars": 6083,
                "language": "HTML"
            }
        ]
    },
    "success": true
}

GitHub API or the page data?

Official API: open

GitHub has an official API (GitHub REST API). Any developer can read public repositories, users and issues through GitHub's REST and GraphQL APIs with a personal access token. When you need the public page data instead (fields the API does not return, the official rate limits, or no developer key to apply for), the recipe gives it to you.

Source: GitHub REST API on docs.github.com, checked November 6, 2026.

How to get GitHub data as JSON today

  1. Get a free API key: 5,000 free credits for 7 days, no card.
  2. Send any GitHub page URL with recipe=github to the Scrape API (the call).
  3. Get 10 fields as JSON, 5 credits a page, billed only when the call succeeds.

Ujeebu's GitHub recipe returns name, stars, language and 7 more fields from any public GitHub page as JSON: send the URL with recipe=github to the Scrape API, 5 credits a page, no GitHub account or partner approval needed.

What you get from GitHub

The fields of each page type and a real sample from our last validation, shortened.

Search and listing pages recipe=github/listing 5 credits a page

FieldTypeExample
repositorieslist of 3+ items
repositories[].descriptiontext💡 Download the complete source code of any website (including all a...
repositories[].languagetextHTML
repositories[].nametextAhmadIbrahiim/Website-downloader
repositories[].starsnumber6068
repositories[].topicstextscraper, downloader, assets, offline-web-pages
repositories[].updateddate2026-08-12T16:37:38.246Z
repositories[].urlURLhttps://github.com/AhmadIbrahiim/Website-downloader

Sample answer, validated 2026-11-11

{
    "repositories": [
        {
            "description": "💡 Download the complete source code of any website (including all assets). [ Javascripts, Stylesheets, Images ] using Node.js",
            "language": "HTML",
            "name": "AhmadIbrahiim/Website-downloader",
            "stars": 6083,
            "topics": "scraper, downloader, assets, offline-web-pages",
            "updated": "2026-08-12T16:37:38.246Z",
            "url": "https://github.com/AhmadIbrahiim/Website-downloader"
        },
        {
            "description": "A Smart, Automatic, Fast and Lightweight Web Scraper for Python",
            "language": "Python",
            "name": "alirezamika/autoscraper",
            "stars": 8084,
            "topics": "python, crawler, machine-learning, scraper, automation, ai, scraping, artificial-intelligence, web-scraping, scrape, webscraping, webautomation",
            "updated": "2026-07-29T17:17:55.209Z",
            "url": "https://github.com/alirezamika/autoscraper"
        }
    ]
}

One call

Send the page URL and the recipe name to the Scrape API. The recipe brings the extract rules and the settings that work on GitHub (JavaScript rendering).

curl -G 'https://api.ujeebu.com/scrape' \
  -H "ApiKey: $UJEEBU_API_KEY" \
  --data-urlencode 'url=https://github.com/search?q=web+scraper&type=repositories' \
  --data-urlencode 'recipe=github/listing'

The answer is {"result": {...}} with the headers Ujb-Recipe and Ujb-Credits. Other page types: recipe=github/page, or recipe=github and the API picks the page type from the URL. Your own parameters always win over the recipe.

What people build with GitHub data

  • Research datasets

    Build datasets of public pages for analysis, search or LLM pipelines.

    Learn more
  • Trend tracking

    Follow what gets attention over time: scores, comments, stars.

Price

Same price as the page call, no fee for the recipe. Only successful responses are billed; blocked, timed-out and failed requests are free.

Page typeCredits a pagePer 1,000, StarterPer 1,000, Pro
Search results, Page5$0.82$0.50

See all plans

FAQ

GitHub API vs scraping: which one should I use?

Use the official GitHub API when it returns what you need. Any developer can read public repositories, users and issues through GitHub's REST and GraphQL APIs with a personal access token. Use the page data when you need what the public page shows: Ujeebu's GitHub recipe returns name, stars, language and 7 more fields from any public GitHub page as JSON: send the URL with recipe=github to the Scrape API, 5 credits a page, no GitHub account or partner approval needed.

What does the GitHub recipe return?

JSON with 10 fields from search results (recipe=github/listing) and page (recipe=github/page), for example name, stars, language, description, topics. The answer is {"result": {...}} with the fields shown on this page.

How much does it cost to scrape GitHub?

5 credits a page ($0.50 per 1,000 on Pro, $0.82 on Starter). Same price as the page call, no fee for the recipe. Only successful responses are billed; blocked, timed-out and failed requests are free.

Do I need proxies or a headless browser?

No. The recipe brings the settings that work on GitHub: JavaScript rendering. Send only the URL and recipe=github/listing.

What happens when GitHub changes its pages?

We check GitHub every day and re-validate the recipe on real pages every week, then fix it when the site changes. Until a fix is live, the API answers 404 "the recipe has no working version" instead of empty data, and that call is free.

Can I search GitHub with parameters?

Yes, in one call: send recipe=github/search with query, sort, page and no URL. We build the GitHub search URL (returned in the Ujb-Url header), apply recipe=github/listing and answer its JSON, at the same credits as the page call. A missing or invalid parameter answers 400 naming it, and that call is free.

Get GitHub data as JSON today.

5,000 free credits for 7 days. No card.