API Documentation

Quick start guide and API reference for APIShare

Quick Start

  1. Register an account — Sign up at /register (free, no credit card required)
  2. Verify your email — Click the verification link sent to your inbox. A signup bonus is credited after verification.
  3. Get your API key — Visit your Dashboard and create an API key
  4. Start calling APIs — Use the OpenAI-compatible endpoint below

Base URL

https://apishare.cc/v1

The endpoint is OpenAI-compatible — works with any OpenAI SDK or framework (LangChain, OpenAI Python/Node SDK, etc.)

Authentication

Pass your API key in the Authorization header as a Bearer token:

Authorization: Bearer YOUR_API_KEY

Chat Completions

POST /v1/chat/completions

curl https://apishare.cc/v1/chat/completions \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "gpt-4o-mini", "messages": [ {"role": "user", "content": "Hello!"} ] }'

List Available Models

GET /v1/models

curl https://apishare.cc/v1/models \ -H "Authorization: Bearer YOUR_API_KEY"

Python (OpenAI SDK)

from openai import OpenAI client = OpenAI( base_url="https://apishare.cc/v1", api_key="YOUR_API_KEY" ) response = client.chat.completions.create( model="gpt-4o-mini", messages=[{"role": "user", "content": "Hello!"}] ) print(response.choices[0].message.content)

Node.js (OpenAI SDK)

import OpenAI from "openai"; const client = new OpenAI({ baseURL: "https://apishare.cc/v1", apiKey: "YOUR_API_KEY", }); const response = await client.chat.completions.create({ model: "gpt-4o-mini", messages: [{ role: "user", content: "Hello!" }], }); console.log(response.choices[0].message.content);

Free API Providers

APIShare aggregates free-tier LLM APIs from leading providers. Check the live leaderboard for daily-tested availability, latency, and rate limits.

API Marketplace

Browse community and provider-listed APIs in the Marketplace. If you have an API to share, you can list it from your Dashboard and earn from usage.

Rate Limits & Pricing

  • Free-tier API calls are subject to each upstream provider's rate limits
  • Marketplace API pricing is set by individual providers
  • Wallet balance is consumed for paid marketplace APIs only
  • Check your Dashboard for usage statistics and balance

Support

© 2026 SamAI Group. All rights reserved.

Back to APIShare · About · Leaderboard