Skip to main content

First time using CometAPI?

You can watch the video “How to Use CometAPI” to quickly learn how to request CometAPI through Apidog.

Integration requires only three steps:

Step 1. Get your API key

  1. Top up your account on the CometAPI dashboard.
  2. To create a new API key, go to the Token page and click Add Token.

Step 2. Replace the base URL

  1. Modify the BASE_URL in your application to our interface address, for example:
    Replace OpenAI’s Base URL with https://api.cometapi.com.
  2. Different clients may need to try the following addresses:
    • https://api.cometapi.com
    • https://api.cometapi.com/v1
    • https://api.cometapi.com/v1/chat/completions

Step 3. Replace the API key

  1. Replace the API key in your client with the key from CometAPI.
  2. After replacement, you can start making requests.

Ongoing support

If you encounter any issues during integration, contact our support team. For further calling instructions and development guides, refer to the API documentation.