Home · APIs · Developer data · GitHub search

GitHub search API

One request, one key: POST /v1/developer/github/search. The sample below is a real response captured 20 November 2026, shortened for display (long text cut, lists cut to three items); it is not invented.

Price

1 credit a call. One call is about $0.0098 and 1,000 calls are about $9.80 at the smallest paid plan's rate.Formula A call that comes back empty is not charged.

Try it free

Runs one real call with the sample input below. No key and no sign-up; a few runs a day per visitor.

{
  "query": "ai agent framework"
}

What it returns

FieldTypeValue in the sample
urlstringhttps://github.com/search?q=ai agent framework
platformstringgithub_search
extracted_atstring2026-11-20T10:21:56.567326+00:00
content_typestringsearch_results
extrasobject{"total_count":20778,"query":"ai agent framework","search_type":"repositories","results":[{"full_name":"obr...
credits_usednumber1
latency_msnumber757

Sample response (20 November 2026)

{
  "url": "https://github.com/search?q=ai agent framework",
  "platform": "github_search",
  "extracted_at": "2026-11-20T10:21:56.567326+00:00",
  "text": null,
  "title": null,
  "description": null,
  "author_name": null,
  "author_handle": null,
  "author_url": null,
  "author_avatar": null,
  "author_followers": null,
  "author_verified": null,
  "published_at": null,
  "published_at_unix": null,
  "modified_at": null,
  "date_source": null,
  "likes": null,
  "comments_count": null,
  "shares": null,
  "views": null,
  "reposts": null,
  "saves": null,
  "thumbnail_url": null,
  "video_url": null,
  "images": [],
  "content_type": "search_results",
  "hashtags": [],
  "mentions": [],
  "language": null,
  "extras": {
    "total_count": 20778,
    "query": "ai agent framework",
    "search_type": "repositories",
    "results": [
      {
        "full_name": "obra/superpowers",
        "url": "https://github.com/obra/superpowers",
        "description": "An agentic skills framework & software development methodology that works.",
        "stars": 322432,
        "language": "Shell",
        "updated_at": "2026-11-20T10:16:59Z",
        "score": 1
      },
      {
        "full_name": "langchain-ai/langchain",
        "url": "https://github.com/langchain-ai/langchain",
        "description": "The agent engineering platform.",
        "stars": 149960,
        "language": "Python",
        "updated_at": "2026-11-20T10:07:24Z",
        "score": 1
      },
      {
        "full_name": "FoundationAgents/MetaGPT",
        "url": "https://github.com/FoundationAgents/MetaGPT",
        "description": "🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming",
        "stars": 71364,
        "language": "Python",
        "updated_at": "2026-11-20T10:02:04Z",
        "score": 1
      }
    ]
  },
  "errors": [],
  "credits_used": 1,
  "latency_ms": 757
}

Measured on that call: 1376 ms.

Code

curl -X POST https://api.foxapis.com/v1/developer/github/search \
  -H "Authorization: Bearer YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query":"ai agent framework"}'
import requests

r = requests.post(
    "https://api.foxapis.com/v1/developer/github/search",
    headers={"Authorization": "Bearer YOUR_KEY"},
    json={"query":"ai agent framework"},
)
print(r.json())
const r = await fetch("https://api.foxapis.com/v1/developer/github/search", {
  method: "POST",
  headers: { "Authorization": "Bearer YOUR_KEY", "Content-Type": "application/json" },
  body: JSON.stringify({"query":"ai agent framework"}),
});
console.log(await r.json());

n8n (HTTP Request node: paste it into a workflow)

{
  "nodes": [
    {
      "name": "GitHub search",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4,
      "position": [
        0,
        0
      ],
      "parameters": {
        "method": "POST",
        "url": "https://api.foxapis.com/v1/developer/github/search",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "Authorization",
              "value": "Bearer YOUR_KEY"
            }
          ]
        },
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "{\"query\":\"ai agent framework\"}"
      }
    }
  ],
  "connections": {}
}

Assistants (Claude, ChatGPT, Cursor)

Connect the FoxAPIs server once; the tools it offers are listed on the MCP page.

claude mcp add --transport http foxapis https://foxapis.com/mcp \
  --header "Authorization: Bearer YOUR_KEY"

Errors and limits

Free to start: 100 credits, no card. Then from $10. Credits you buy never expire.

Get my free key

More from GitHub: repo · user

Same category: Developer data · all APIs

How we calculate

Data: scripts/data/endpoint-credits.json and plans.json, 2026-11-20. Every other figure on this page is copied from the record, not calculated by us.