Docs
Getting Started with Metafog APIs

Getting Started with Metafog APIs

Unlock the Power of Decentralized AI Search APIs

Get Started with Metafog

1. Sign Up for Access

Register on the Metafog platform to get your unique API key. Your API key will grant you access to all the features and services Metafog offers.

2. Explore the Documentation

Visit the Metafog API Documentation for a comprehensive guide on:

  • Authentication
  • Endpoints
  • JSON request structure
  • Usage limits
  • Example requests and responses

3. Make Your First API Call

Here’s a quick example to get you started with Metafog:

Example: Running a AI search API

curl -X POST "https://api.metafog.io/search" \
  -H "Authorization: Bearer PUT_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
      "query": "DOGE coin price in last 7 days", 
      "format": "JSON"
      }'

Response:

{
    "data" : "{
        market_data:{
            current_price : 0.0853,
            price_change_24h : 0.0055,
            price_change_percentage_1h : -0.15,
            price_change_percentage_24h : 0.65,
            price_change_percentage_7d : 0.93,
            price_change_percentage_14d : -2.35,
            price_change_percentage_30d : -12.45,
            price_change_percentage_1y : -47.19
        }
    }"
} 

If the HTTP response code is 200, JSON-parse the data object of the result.

4. Monitor Your Usage

Keep track of your API usage through the developer dashboard, where you can view consumption metrics and manage your API keys.

What You Can Build with Metafog

  • AI-Powered Agents: Enhance user engagement with natural language understanding.
  • Apps with real time web search
  • Company research
  • Latest news and trends analysis
  • Custom AI Solutions: Tailor AI capabilities to meet your specific business needs.

Join the Metafog Developer Community

Collaborate with other developers, share insights, and get support from the Metafog team by joining our community forums and Discord channel. Together, we’re shaping the future of decentralized AI development.

Start Building with Metafog Today

Ready to take your applications to the next level? Sign up for Metafog and start integrating AI features into your products with ease. Whether you’re building a startup MVP or scaling an enterprise application, Metafog has the tools you need.