Skip to main content
Bring your own spec · OpenAPI 3.x

GitHub API Sandbox

Test your GitHub integrations without rate limits, OAuth flows, or real repositories. Drop github.com/github/rest-api-description into FetchSandbox and get a stateful mock in under 2 seconds.

OpenAPI 3.x spec supportedAny resource from the specNo OAuth required<2s to provision
Open GitHub Portal

What You Can Test

CI/CD pipeline testing

Test commit status, check runs, and deployment APIs without touching a real repo.

Issue tracker integrations

Create, label, assign, and close issues — all state persists across requests.

PR automation

Test merge flows, review requests, and status checks without merge conflicts.

Webhook consumers

Simulate push, PR, and issue events to test your webhook handlers.

GitHub Apps

Test installation flows and permissions without publishing your app to the marketplace.

No OAuth needed

Sandbox accepts any bearer token — no OAuth flow, no GitHub account required.

Example Resources

The resources available depend on which GitHub OpenAPI spec you load. Common resources include:

RepositoriesIssuesPull RequestsCommitsBranchesCheck RunsDeploymentsReleasesLabelsMilestonesCollaboratorsWebhooks

How to Set Up a GitHub Sandbox

  1. 1

    Get GitHub's OpenAPI spec

    Download it from github.com/github/rest-api-description. The bundled YAML or JSON file works directly.

  2. 2

    Upload to FetchSandbox

    Open the dashboard, click 'New Sandbox', and upload your spec. Endpoints are parsed, seed data provisioned, and scenarios built automatically.

  3. 3

    Point your app at the sandbox URL

    Replace api.github.com with your sandbox base URL. Pass any bearer token — the sandbox accepts it.

  4. 4

    Make real API calls

    List repos, create issues, open PRs — all state persists across calls for the lifetime of the sandbox.

FAQ

Do I need a GitHub account or personal access token?

No. FetchSandbox mocks the GitHub API locally. Any bearer token is accepted — no real GitHub authentication occurs.

Does FetchSandbox have a pre-built GitHub spec?

GitHub's OpenAPI spec is large and versioned. Rather than bundling a potentially outdated version, FetchSandbox lets you upload the exact spec version you need — ensuring your sandbox matches your target API version.

Will I hit GitHub's 5,000 req/hour rate limit?

No. FetchSandbox runs locally and has no GitHub API rate limits. You can make unlimited requests during testing.

Can I test GitHub Actions or webhook events?

Webhook simulation is built in. You can trigger simulated push, pull_request, and issue events to test your webhook consumer handlers.

Ready to mock the GitHub API?

Free tier — 3 sandboxes, 10,000 requests/month. No credit card required.

Open GitHub Portal