APIs / GitHub / Repository Readme
GitHub: Repository Readme
Repository Readme from GitHub as JSON. 1 credit per successful call.
GET /v1/github/repository-readme
Parameters
Send parameters in the query string.
| Parameter | Type | Required | Allowed values |
|---|---|---|---|
owner | string | Required | Up to 39 characters |
repo | string | Required | Up to 100 characters |
ref | string | Optional | Up to 255 characters |
Example request
GitHub
GET/v1/github/repository-readme?owner=laravel&repo=framework
{
"search_parameters": {
"engine": "github_repository_readme",
"owner": "laravel",
"repo": "framework"
},
"rate_limit": {
"limit": 60,
"remaining": 59,
"used": 1,
"reset": 1794492895
},
"name": "README.md",
"path": "README.md",
"sha": "14cda013fd4e93be1f2dc5035ca5095c67716b0f",
"size": 3854,
"url": "https://api.github.com/repos/laravel/framework/contents/README.md?ref=13.x",
"html_url": "https://github.com/laravel/framework/blob/13.x/README.md",
"git_url": "https://api.github.com/repos/laravel/framework/git/blobs/14cda013fd4e93be1f2dc5035ca5095c67716b0f",
"download_url": "https://raw.githubusercontent.com/laravel/framework/13.x/README.md",
"type": "file",
"content": "<p align=\"center\"><a href=\"https://laravel.com\" target=\"_blank\"><img src=\"https://raw.githubusercontent.com/laravel/art/master/logo-lockup/5%20SVG/2%20CMYK/1%20Full%20Color/laravel-logolockup-cmyk-red.svg\" width=\"400\"></a></p>\n\n<p align=\"ce…",
"encoding": "base64",
"_links": {
"self": "https://api.github.com/repos/laravel/framework/contents/README.md?ref=13.x",
"git": "https://api.github.com/repos/laravel/framework/git/blobs/14cda013fd4e93be1f2dc5035ca5095c67716b0f",
"html": "https://github.com/laravel/framework/blob/13.x/README.md"
}
}200 OKJSONX-Credits-Used: 1
Recorded 12 Nov 2026 and shortened.
Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.
Response fields
The response has these 14 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.
| Field | Type |
|---|---|
search_parameters | object |
rate_limit | object |
name | string |
path | string |
sha | string |
size | integer |
url | url |
html_url | url |
git_url | url |
download_url | url |
type | string |
content | string |
encoding | string |
_links | object |