Skip to content

API Reference

Complete API documentation for Omega Indexer V2.

Endpoint

POST https://www.omegaindexer.com/amember/dashboard/api

Headers

Content-Type: application/x-www-form-urlencoded

Parameters

ParameterTypeRequiredDescription
apikeystring✅ YesYour API key from dashboard
campaignnamestring✅ YesName for the campaign
urlsstring✅ YesURLs separated by pipe |
dripfeedinteger❌ NoDays to distribute submissions

Request Format

Basic Request

apikey=YOUR_API_KEY&campaignname=My Campaign&urls=https://example.com/page1|https://example.com/page2

With Drip Feed

apikey=YOUR_API_KEY&campaignname=My Campaign&urls=https://example.com/page1|https://example.com/page2&dripfeed=7

Code Examples

cURL

bash
curl -X POST https://www.omegaindexer.com/amember/dashboard/api \
  -H "Content-Type: application/x-www-form-urlencoded" \
  -d "apikey=YOUR_API_KEY" \
  -d "campaignname=My Campaign" \
  -d "urls=https://example.com/page1|https://example.com/page2" \
  -d "dripfeed=5"

JavaScript (Node.js)

javascript
const submitUrls = async (urls, campaignName, dripDays = null) => {
  const params = new URLSearchParams({
    apikey: process.env.OMEGA_API_KEY,
    campaignname: campaignName,
    urls: urls.join('|')
  });

  if (dripDays) params.append('dripfeed', dripDays);

  const response = await fetch(
    'https://www.omegaindexer.com/amember/dashboard/api',
    {
      method: 'POST',
      headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
      body: params.toString()
    }
  );

  return await response.text();
};

// Usage
const urls = ['https://example.com/page1', 'https://example.com/page2'];
await submitUrls(urls, 'My Campaign', 5);

Python

python
import requests
import os

def submit_urls(urls, campaign_name, drip_days=None):
    data = {
        'apikey': os.environ['OMEGA_API_KEY'],
        'campaignname': campaign_name,
        'urls': '|'.join(urls)
    }

    if drip_days:
        data['dripfeed'] = str(drip_days)

    response = requests.post(
        'https://www.omegaindexer.com/amember/dashboard/api',
        data=data
    )

    return response.text

# Usage
urls = ['https://example.com/page1', 'https://example.com/page2']
result = submit_urls(urls, 'My Campaign', drip_days=5)

PHP

php
<?php
function submitUrls($urls, $campaignName, $dripDays = null) {
    $data = [
        'apikey' => getenv('OMEGA_API_KEY'),
        'campaignname' => $campaignName,
        'urls' => implode('|', $urls)
    ];

    if ($dripDays) {
        $data['dripfeed'] = $dripDays;
    }

    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL, 'https://www.omegaindexer.com/amember/dashboard/api');
    curl_setopt($ch, CURLOPT_POST, true);
    curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($data));
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);

    $response = curl_exec($ch);
    curl_close($ch);

    return $response;
}

// Usage
$urls = ['https://example.com/page1', 'https://example.com/page2'];
$result = submitUrls($urls, 'My Campaign', 5);

URL Formatting

Correct Format

URLs must be separated by the pipe character |:

https://example.com/page1|https://example.com/page2|https://example.com/page3

Converting from Newline-Separated

JavaScript:

javascript
const urlString = urlList.split('\n').filter(u => u.trim()).join('|');

Python:

python
url_string = '|'.join(url for url in url_list.split('\n') if url.strip())

PHP:

php
$urlString = implode('|', array_filter(explode("\n", $urlList)));

Error Handling

ErrorLikely CauseSolution
Invalid API keyWrong or missing keyCheck key in dashboard
No URLs providedEmpty or malformed urls paramVerify URL format
Insufficient creditsNot enough balanceAdd credits to account
404 Not FoundWrong endpoint URLVerify endpoint URL
Empty responseServer issueRetry with backoff

Best Practices

  1. Store API Key Securely - Use environment variables
  2. Validate URLs First - Check for 404s before submitting
  3. Batch Wisely - Group related URLs together
  4. Use Drip Feed - For campaigns over 100 URLs
  5. Implement Retries - Add exponential backoff for failures
  6. Log Responses - Keep records of API interactions

Rate Limits

While not officially documented, follow these guidelines:

  • Max requests: ~100/minute
  • Max URLs per request: ~1000 (practical limit)
  • Recommended: Batch URLs in single requests when possible

See Also

Omega Indexer V2 Documentation