Freemium

GitHub Copilot API

GitHub Copilot API offers developers AI-driven code completions, suggestions, and contextual assistance within their IDEs or applications. Built on OpenAI Codex technology, it helps accelerate development workflows and improve code quality. Available under a freemium model with scalable pricing plans for teams and enterprises.

1

Endpoints

0

Views

Jul 20, 2025

Last Checked

60 suggestions/minute

Rate Limit

API Endpoints

Generates code suggestions based on context

Full URL

https://api.githubcopilot.com/v1/completions

Code Examples

curl -X POST 'https://api.githubcopilot.com/v1/completions' \
  -H 'Authorization: Bearer YOUR_API_KEY'

Parameters

{
  "prompt": "def fibonacci(n):",
  "max_tokens": 60,
  "temperature": 0.2
}

Example Response

{
  "id": "cmpl-abc123",
  "choices": [
    {
      "text": "\n    if n <= 0:\n        return 0\n    elif n == 1:\n        return 1\n    else:\n        return fibonacci(n-1) + fibonacci(n-2)",
      "index": 0
    }
  ]
}

Version

v1

Rate Limit

20 requests/minute
Tags
ai-codingproductivity
Technical Details
Authentication
OAuth2
Response Formats
JSON
Availability
global
Status
Published
Rate Limits

60 suggestions/minute (free)

Supported Languages
PythonJavaScriptJava
Use Cases
code autocompletion
developer tools

Related APIs

Discover similar APIs that might interest you

APIfreemium

DeepSeek Coder API

DeepSeek Coder API provides developers w...

Category
Development
Endpoints
1
ai-codingcode-generationgenerative-ai
APIopen source

Appwrite Backend API

Appwrite is a comprehensive open-source ...

Category
Development
Endpoints
1
backendserver
APIopen source

Temporal Workflow API

Temporal is a powerful open-source engin...

Category
Development
Endpoints
1
orchestrationworkflows