OpenAPI Specification
Complete OpenAPI 3.0 specification for the Fanbeam API
The Fanbeam API is fully documented using the OpenAPI 3.0 specification. You can use this specification to generate client libraries, explore the API, or integrate with API tools.
Accessing the Specification
The OpenAPI specification is available at:
https://fanbeam.app/api/openapi.jsonUsing the Specification
Interactive Documentation
You can use tools like Swagger UI or Scalar to explore the API interactively:
- Download the OpenAPI spec from
/api/openapi.json - Import it into Swagger UI, Postman, or your preferred API tool
- Explore endpoints, schemas, and examples
Code Generation
Generate client libraries for your preferred language:
TypeScript/JavaScript:
npx @hey-api/openapi-ts -i https://fanbeam.app/api/openapi.json -o ./src/clientPython:
openapi-generator generate -i https://fanbeam.app/api/openapi.json -g python -o ./python-clientGo:
openapi-generator generate -i https://fanbeam.app/api/openapi.json -g go -o ./go-clientPostman Collection
Import the OpenAPI spec into Postman:
- Open Postman
- Click Import
- Select Link and enter:
https://fanbeam.app/api/openapi.json - Postman will create a collection with all endpoints
Specification Details
The OpenAPI spec includes:
- All endpoints - Complete list of available API endpoints
- Request/Response schemas - Detailed schemas for all requests and responses
- Authentication - API key authentication details
- Examples - Request and response examples
- Error responses - Error schema documentation
SDK Generation
The official Fanbeam TypeScript SDK is generated from this OpenAPI specification:
npm install fanbeam