Skip to content

Looha API Documentation

Welcome to Looha API documentation! Programmatic access to profit analytics and insights.

✅ Who Can Use the API?

::alert{type="warning"} ⚠️ Pro Plan Only - API is exclusively available for Pro plan subscribers. Free users cannot access the API. ::

Core Features

::card-group ::card

title: '💰 Profit Analytics' icon: i-heroicons-currency-dollar to: /profit

Get accurate profit and cost data for any time period ::

::card

title: '📊 Ad Performance' icon: i-heroicons-chart-bar to: /analytics

Analyze ROAS and ad campaign performance tied to actual profits ::

::card

title: '🤖 AI Recommendations' icon: i-heroicons-light-bulb to: /recommendations

Smart recommendations to improve your profits and campaign performance ::

::card

title: '🔔 Alerts' icon: i-heroicons-bell to: /alerts

Manage custom alerts and rules, get alert data ::

::card

title: '📄 Reports' icon: i-heroicons-document-text to: /reports

Export profit reports in PDF, CSV, and JSON formats ::

::card

title: '🔗 Funnel Analysis' icon: i-heroicons-funnel to: /analytics

Analyze conversion funnel from ad click to final order :: ::

Base URL

bash
https://api.looha.app/v1

Authentication

All requests require a valid API key in the request header:

bash
curl -H "Authorization: Bearer looha_your_api_key" \
  https://api.looha.app/v1/profit/overview?period=30d

::alert{type="info"} Get your API key from Settings → API ::


Rate Limits

PlanRequests/HourRequests/Day
FreeNo Access
Pro1,00020,000

::alert{type="danger"} Exceeding the limit will result in 429 Rate Limit Exceeded response ::


Upgrade to Pro

If you're on the free plan and want to use the API:

  1. Go to Settings → Billing
  2. Choose Pro Plan (249 SAR/month)
  3. You'll automatically get API access
  4. Create an API key from Settings

::button{to="https://app.looha.app/settings/billing" icon="i-heroicons-arrow-right"} Upgrade to Pro Now ::


Quick Start

  1. Make sure you're on Pro plan
  2. Get your API key from Settings page
  3. Read the quick start guide Getting Started →
  4. Try your first request using the examples

Support

Need help?

  • 📧 Email: support@looha.app
  • 💬 Chat: Inside the dashboard at the bottom of the page
  • 📚 Documentation: Browse the sections on the left

::button{to="/getting-started" icon="i-heroicons-rocket-launch" size="lg"} Get Started ::

Profit analytics platform for Saudi e-commerce merchants