ViewCheap Reseller API v2 Integration Guide: Sync Services, Automate Orders & Link Rules

Running a child panel, agency dashboard, or automated delivery workflow requires reliable provider API connectivity. ViewCheap exposes a standard PerfectPanel-compatible JSON API at https://viewcheap.com/api/v2 using HTTP POST requests. Full parameter tables are always accessible on the ViewCheap API documentation page.

1. Core Endpoint & Authentication

  • Method: POST (application/x-www-form-urlencoded or multipart)
  • URL: https://viewcheap.com/api/v2
  • Auth parameter: key=<YOUR_API_KEY> (generated in your ViewCheap Account Settings after signing in)

2. Fetch Consolidated Service List (action=services)

curl -X POST https://viewcheap.com/api/v2 \
  -d "key=YOUR_API_KEY" \
  -d "action=services"

Each JSON item returns service (ID), name, category, rate (per 1,000), min, max, and feature flags (dripfeed, refill, cancel). Sync this endpoint periodically instead of hardcoding old IDs.

3. Place Orders & Drip-Feed (action=add)

import requests
resp = requests.post("https://viewcheap.com/api/v2", data={
    "key": "YOUR_API_KEY",
    "action": "add",
    "service": 743,
    "link": "https://www.youtube.com/watch?v=VIDEO_ID",
    "quantity": 100
})
print(resp.json())  # {"order": 123456}

For eligible services, pass optional runs and interval (minutes) parameters to enable gradual Drip-Feed delivery automatically.

4. Track Order Status & Refill

  • Single check: action=status&order=123456
  • Batch check (up to 100 IDs): action=status&orders=123456,123457
  • Check balance anytime: action=balance
  • Trigger eligible guarantee refill: action=refill&order=123456

5. Recommended Pre-Order Validation in Your Client App

  1. Reject missing protocols before sending orders — enforce https:// links.
  2. Validate URL shapes by category (Channel URL for Subscribers #182/#133/#85; Video URL for Views/WatchTime #742/#743/#697; Twitch channel URL for #637–#696).
  3. Run initial QA checks using low-minimum starter IDs (#379, #637, #743, #825, #260 at min 10–100) before enabling bulk automation for end customers.

Frequently Asked Questions

Where do I find my ViewCheap API key and documentation?

Sign in to your ViewCheap account, generate or copy your API key in Account Settings, and reference parameter examples on https://viewcheap.com/api.

How many orders can I check in one batch API call?

You can pass up to 100 comma-separated order IDs in a single POST request using action=status&orders=ID1,ID2,... to reduce rate-limit overhead.

Can I trigger guarantee refills via API?

Yes — send POST action=refill&order=<ORDER_ID> for orders belonging to refill-eligible services, ensuring the link kept its Start Count intact with no overlapping orders.

Related ViewCheap Guides & Resources