Nexscope

GitHub Repository Search

Search public GitHub repositories by keyword or GitHub search qualifiers. Each page includes repository names, links, languages, stars, forks and pagination.

Cost10 credits / call
Try online
POST · https://api.nexscope.ai/social/github/search/repositoriesMCP · social_github_repository_search

What this API does

Search public GitHub repositories by keyword or GitHub search qualifiers. Each page includes repository names, links, languages, stars, forks and pagination. The request accepts query, page, pageSize. Its documented result includes hasMore, incompleteResults, description, forks, fullName, language, stars, updatedAt.

GitHub Repository Search API use cases

Plan a GitHub Repository Search request

A researcher checks the published operation description and supplies query, page, pageSize for GitHub Repository Search. The request stays within the supported parameters rather than assuming other platform capabilities.

Inspect GitHub Repository Search results

An analyst reviews hasMore, incompleteResults, description, forks, fullName, language, stars, updatedAt from GitHub Repository Search for the requested subject. Missing values remain explicit, and the response does not establish complete platform coverage.

Document GitHub Repository Search observations

A researcher records the inputs and available results from GitHub Repository Search alongside its published description. The record supports a scoped review without inferring unsupported actions, refresh intervals or broader conclusions.

GitHub Repository Search API FAQ

What does the GitHub Repository Search API return?

Search public GitHub repositories by keyword or GitHub search qualifiers. Each page includes repository names, links, languages, stars, forks and pagination. The documented output includes hasMore, incompleteResults, description, forks, fullName, language, stars, updatedAt. It corresponds to the supplied query, page, pageSize. Optional fields can be absent; a missing value should not be interpreted as a measured zero. Example values illustrate the response shape, rather than live account results.

How many credits does the GitHub Repository Search API cost?

The current documented cost is 10 credits / call. This is the same cost shown at the top of this page. If a range or estimate is displayed, the final charge depends on the request. Review your available credits and the pricing page before calling the API, and check API usage records for the actual charge.

How do I call the GitHub Repository Search API from my app or an MCP client?

Send a POST request to https://api.nexscope.ai/social/github/search/repositories with your API key as a Bearer token and the JSON inputs shown in API integration. In a compatible MCP client such as Claude or Cursor, connect Nexscope and call social_github_repository_search. Use the MCP arguments shown in the MCP guide, or switch Online test to MCP to review its request before adding it to your app.

View plans and creditsConnect this API with MCP

Try this API
Endpoint
https://api.nexscope.ai/social/github/search/repositories
MCP method
social_github_repository_search

Step 1 of 3 · Authenticate

Authentication

All run endpoints require a user API key. Send it as a bearer token in the Authorization header.

Authorization: Bearer nk-xxxxxxxxxxxxxxxxx
Missing or invalid API keys return an authentication error. Manage keys from .

Step 2 of 3 · Send a request

POSThttps://api.nexscope.ai/social/github/search/repositories

Run an API

Send a JSON request body using the parameters described below.

Example request

Replace YOUR_API_KEY, then run this command in your terminal.

curl -X POST 'https://api.nexscope.ai/social/github/search/repositories' \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "page": 1,
  "pageSize": 10,
  "query": "shopify theme"
}'

Code example

{
  "page": 1,
  "pageSize": 10,
  "query": "shopify theme"
}

Step 3 of 3 · Inspect the result

Check the response

Read code for the request status and data for the result. Open the parameter and response reference for the full field definitions.

HTTP status codes

CodeDescription
200Default HTTP response for both success and many business errors. Only outer JSON code 0 indicates success or asynchronous acceptance; inspect data for the result.
429Execution admission rate limit; honor Retry-After when present.
503Execution admission is temporarily unavailable; honor Retry-After when present.
Opt-inX-Nexscope-Http-Status: semantic maps controller-handled business errors to HTTP status on run and task routes. Pre-authentication failures, such as a missing or invalid API key (code 11209, including an incomplete or corrupted copy) or an expired website login session (code 12001), may still return HTTP 200 before this mapping. Always check the outer JSON code; malformed requests and infrastructure failures may also return non-200 HTTP responses.
All categories/ Social Data

Step 1 of 2 · Connect your MCP client

MCP

V2 recommended

Connect remote agents through the standard MCP 2025-11-25 Streamable HTTP endpoint. Use OAuth 2.1 Authorization Code with PKCE, or an API key for compatibility.

POST https://api.nexscope.ai/mcp
MCP-Protocol-Version: 2025-11-25
Content-Type: application/json
Authentication

OAuth clients request the mcp:tools scope. The endpoint's 401 response advertises protected-resource metadata for authorization discovery.

Step 2 of 2 · Call the tool

Call a tool

{
  "jsonrpc": "2.0",
  "id": "tool-call-1",
  "method": "tools/call",
  "params": {
    "name": "social_github_repository_search",
    "arguments": {
      "page": 1,
      "pageSize": 10,
      "query": "shopify theme"
    }
  }
}

What can you do with this API?

Data explained and practical use cases

AI Guide

Question

What can I do with the GitHub Repository Search API?

AI answer

Search public GitHub repositories by keyword or GitHub repository search qualifiers.

  • Find storefront examples. Search for shopify theme language:liquid and use the repository links to inspect relevant projects.
  • Shortlist integrations. Search for shopify inventory language:typescript and compare the returned repository descriptions and update timestamps.
  • Review another page. Request page: 2 with the same query and page size when hasMore is true. Treat results marked incompleteResults as partial.

In an MCP client, call social_github_repository_search with the same arguments. The displayed example uses illustrative metrics.

Data Example

Sample request and response

Related APIs