Skip to content

OpenAPI Specification

APITube News API provides a full OpenAPI 3.0 specification that describes all available endpoints, parameters, request/response schemas, and authentication methods.

Specification URL

TIP

The OpenAPI specification is available at:

https://api.apitube.io/openapi.json

What is OpenAPI?

OpenAPI (formerly Swagger) is an industry-standard format for describing RESTful APIs. The specification is a machine-readable JSON document that can be used to:

  • Generate client SDKs in any programming language
  • Import into API tools like Postman, Insomnia, or Bruno
  • Auto-generate documentation with Swagger UI, Redoc, or Stoplight
  • Validate requests and responses during development
  • Create mock servers for testing without hitting the production API

Usage Examples

Import into Postman

  1. Open Postman and click Import
  2. Select Link and paste https://api.apitube.io/openapi.json
  3. Click Import — all endpoints will be available as a collection

Generate a Client SDK

Using OpenAPI Generator:

bash
npx @openapitools/openapi-generator-cli generate \
  -i https://api.apitube.io/openapi.json \
  -g python \
  -o ./apitube-client

Supported languages: Python, TypeScript, Java, Go, Ruby, PHP, C#, Rust, and many more.

View in Swagger UI

Use the hosted Swagger Editor — click File → Import URL and paste https://api.apitube.io/openapi.json.