API List/OpenAI API

OpenAI API

online

Access GPT models, DALL-E, Whisper, and other AI capabilities. Power your applications with AI.

🤖 AI & MLAuth: bearerPopularity: 99/100Latency: 200ms
Run in Explorer →

Base URL

https://api.openai.com

Authentication

Requires a Bearer token in the Authorization header.

View Documentation →

Endpoints

POST/v1/chat/completions
Try it →

Create a chat completion

POST/v1/images/generations
Try it →

Generate images

GET/v1/models
Try it →

List available models

Example Request

POST https://api.openai.com/v1/chat/completions

Example Response

{
  "id": "chatcmpl-abc123",
  "object": "chat.completion",
  "choices": [{
    "message": {"role": "assistant", "content": "Hello!"}
  }]
}

Tags

aigptmachine-learningnlpchatgpt