Overview
AnyAPI is compatible with OpenAI SDKs, allowing you to seamlessly integrate our API into your applications using familiar tools and libraries. Simply configure the SDK to point tohttps://api.anyapi.ai and use your AnyAPI key for authentication.
Python
Official OpenAI Python library
Node.js / TypeScript
Official OpenAI Node.js library
C# / .NET
Official OpenAI .NET library
Java
Community Java library
Go
Community Go library
Ruby
Community Ruby library
PHP
Community PHP library
Rust
Community Rust library
Python
Install the official OpenAI Python library:Example Usage
Async Support
Node.js TypeScript
Install the official OpenAI Node.js library:Example Usage (TypeScript)
Example Usage (JavaScript)
C# .NET
Install the official OpenAI .NET library:Example Usage
Java
Install a community OpenAI Java library. Here’s an example using the popularopenai-java library:
Example Usage
Go
Install a community OpenAI Go library:Example Usage
Ruby
Install a community OpenAI Ruby library:Example Usage
PHP
Install a community OpenAI PHP library:Example Usage
Rust
Install a community OpenAI Rust library:Example Usage
Additional Languages
Don’t see your preferred language? AnyAPI’s REST API is compatible with any HTTP client. You can also use any OpenAI-compatible library by configuring it to usehttps://api.anyapi.ai/v1 as the base URL.
REST API Reference
View the complete REST API documentation
Authentication
All requests to AnyAPI require authentication using your API key. Set your API key in the SDK configuration:Getting Help
- Join our Discord community
- Contact Support