API.Market
Go to API.market
  • Welcome to API.market
  • What are API Products?
  • How to subscribe to a SaaS API Product?
  • Managing Subscriptions
  • Analytics & Logs
  • How can I cancel my Subscription?
  • How do I add payment details?
  • How does API.market charges me?
  • Error Codes
  • Seller Docs
    • API Seller Console
    • What is an API Product?
    • What is a Pricing Plan
    • Importing an API Source
    • Creating a Product using the Wizard
    • Testing Your APIs & Products
    • Analytics & Logs
    • Custom Usage
    • Overriding Custom Usage on Result Retrieval
  • FUNDAMENTALS
    • Convert Postman Collection to OpenAPI Yaml
    • Create OpenAPI spec using ChatGPT
  • About Us
  • API Product Docs
    • MagicAPI
      • Screenshot API
      • Domain Availability Checker API
      • WhoIS API
      • PDF Conversion API
      • Image Upscale API
      • DNS Checker API
      • Ageify API
      • Image Restoration API
      • Toon Me API
      • Coding Assistant
      • 🎭 FaceSwap API: Instantaneous replaces face with one another
      • 🏞️ Image Upload API
      • Deblurer API
      • Hair Changer API
      • 🤳🏻🤖AI Qr Code Generator API
      • Whisper API
      • Image Colorizer API
      • OpenJourney API
      • Object Remover API
      • Image Captioner API
      • Object Detector API
      • NSFW API
      • Crunchbase API
      • Pipfeed's Extract API Developer Documentation
      • Migrating from Capix FaceSwap API to magicapi/faceswap-capix API
    • BridgeML
      • Meta-Llama-3-8B-Instruct
      • Meta-Llama-3-70B-Instruct
      • Mistral-7B-Instruct-v0.1
      • Mixtral-8x22B-Instruct-v0.1
      • Meta-Llama-2-7b
      • Meta-Llama-2-13b
      • Meta-Llama-2-70b
      • Gemma-7b-it
      • NeuralHermes-2.5-Mistral-7B
      • BAAI/bge-large-en-v1.5
      • CodeLlama-70b-Instruct-hf
      • 🤖🧗Text-to-Image API
      • 📝🎧 Text to Audio API
    • Capix AI
      • FaceSwap Image and Video Face Swap API
      • MakeUp
      • Photolab.me
      • AI Picture Colorizer
      • AI Picture Upscaler
      • AI Background Remover
      • Object Remover
      • TTS Universal
      • Home GPT
      • AI & Plagiarism Checker
      • AI Story Generator
      • AI Essay Generator
      • Book Title Generator
    • Trueway
      • ⛕ 🗺️ Trueway Routing API
      • 🌐📍Trueway Geocoding API: Forward and Reverse Geocoding
      • 🛤️ ⏱️Trueway Matrix API: Travel Distance and Time
      • 🏛️ Trueway Places API
    • AILabTools
      • Cartoon-Yourself
    • SharpAPI
      • 📄 AI-Powered Resume/CV Parsing API
      • 🛩️ Airports Database & Flight Duration API
    • Text to Speech
      • Turn your text into Magical-sounding Audio
Powered by GitBook
On this page
  1. Seller Docs

Importing an API Source

Import an OpenAPI spec to create an API Source

PreviousWhat is a Pricing PlanNextCreating a Product using the Wizard

Last updated 1 year ago

To create an API store, you need to first connect your APIs to .

When a user calls api.market , then api.market will call your APIs using the defined API source and the config.

The API config needs to be defined as an OpenAPI spec. If you don't have an OpenAPI spec yet, you can create one using ChatGPT. You can follow this tutorial with example ChatGPT prompts

  1. Click on API Sources on the left side menu under "Manage APIs". Then click on the "Import Api Source" button. This wizard will pop up

Click Next to proceed after Selecting the option.

  1. Import the OpenAPI YAML or JSON file. You should be able to see the paths imported from the YAML file.

Click Next to proceed after selecting the OpenAPI specification.

  1. Set Custom Header for your API.

You can set custom headers. These are headers that will be set by API.market for every request before being sent to your API. This needs to be a valid JSON key-value map.

Example:

{"source" : "api.market" }

This can be used to set any kind of headers including Authentication or API keys that are needed by your API Source endpoint.

Click Next to proceed after giving it a proper header.

  1. Set the Base Path URL.

This is the URL that API.market's backend will call. This is never exposed to end users.

Click Next to proceed after giving proper BasePath URL

  1. Set Authentication

You can choose No Auth as well.

Click Next to proceed after choosing proper Auth

  1. Summary.

Finally, check the Summary of your API Source and click on Submit.

You should see the newly created API Source on the API Sources Page. Next step if to create "Products" with Pricing Plans attached.

You can set Authentication headers using this window. You can use either this or use custom headers to pass Authentication to your API. This is used by to authenticate when calling your API. This is not exposed to users.

api.market
api.market
Create OpenAPI spec using ChatGPT
Import API Source Wizard
Example of Choosing the OpenAPI specification