View Categories

AnydealsUK API

3 min read

The AnydealsUK API allows you to securely access your monetised deal feeds, check account status, retrieve network configurations, and integrate AnydealsUK into your website, apps, bots, or automated systems. This page provides a complete overview of how the API works, what it can do, and how to begin using it.


1. What Is the AnydealsUK API? #

The API is a secure interface that allows developers and automated systems to:

  • Retrieve deal feeds (CSV, JSON, RSS)
  • Authenticate using API keys
  • Access account information
  • Monitor usage limits
  • Check network configuration status
  • Validate whether AnydealsUK is operational

Every user has their own unique API key and private feed URLs.


2. Who Is the API For? #

The API is ideal for:

  • WordPress imports (WP All Import)
  • Telegram, Discord, or Slack bots
  • Mobile apps
  • Deal websites
  • Personal automation scripts
  • Price comparison tools

Anyone needing programmatic access to affiliate-optimised deals can use the API.


3. Authentication Overview #

All AnydealsUK API requests require a valid API key.

Authentication method:

Authorization: Bearer YOUR_API_KEY

Without a valid key, the API will return an authentication error.

Your API key:

  • Is unique to your account
  • Controls access to your feeds
  • Should never be shared publicly

Revoked or expired subscriptions will disable API access.


4. API Endpoint Categories #

The AnydealsUK API includes the following endpoint types:

Feed Endpoints #

Retrieve your deal feeds:

  • Amazon-only feeds
  • Main multi-network feeds
  • 10 / 30 / 60-minute interval feeds

5. Feed Retrieval Overview #

Your feeds are accessed using URLs in this format:

https://anydealsuk.com/api/v1/feeds/{API_KEY}/{feed_type}/{interval}.{format}

Feed Types: #

  • amazon
  • main

Intervals: #

  • 10m
  • 30m
  • 60m

Formats: #

  • .csv
  • .xml
  • .json
  • .rss

Example:

https://anydealsuk.com/api/v1/feeds/12345ABC/main/10m.csv

The exact URLs to use are available on your account page.

6. Rate Limits #

API rate limits depend on your subscription tier.

Typical limits include: #

PlanRefresh IntervalAPI PrioritySuggested Max Requests
Swift60 minutesLow6/hr
Pulse30 minutesMedium6/hr
Ultra10 minutesHigh12/hr
Swift Pro60 minutesMedium6/hr
Pulse Pro30 minutesHigh6/hr
Ultra Pro10 minutesHighest12/hr

Rate-limiting protects the system and ensures fairness for all users.

If limits are exceeded, the API may return a 429 Too Many Requests error.


7. API Versioning #

The current version is:

v1

Future versions may include:

  • Additional feed formats
  • Real-time event APIs
  • Expanded analytics
  • Developer webhooks

Versioning ensures backward compatibility for your integrations.


8. Error Handling #

The API uses standard HTTP status codes:

CodeMeaningDescription
200OKRequest successful
400Bad RequestMissing or invalid parameters
401UnauthorizedAPI key missing or invalid
403ForbiddenSubscription expired or insufficient permissions
404Not FoundInvalid endpoint or feed type
429Rate LimitedToo many requests
500Server ErrorUnexpected issue

Error responses return descriptive JSON to help diagnose issues.


9. API Key Security Best Practices #

To protect your account:

  • Never expose your API key publicly
  • Do not hardcode your key into publicly visible code
  • Use server-side requests whenever possible
  • Avoid sharing your feed URLs with others

If your key is compromised, contact support to regenerate it immediately.


10. What You Can Build With the API #

The API enables a wide range of applications:

  • Automated deal poster bots
  • Price comparison engines
  • Telegram or Discord group posting scripts
  • WordPress import automations
  • Affiliate dashboards
  • Browser extensions
  • Mobile apps displaying deal feeds

The API is flexible and designed for high-volume usage.


11. Summary #

The AnydealsUK API is a powerful tool that gives you full programmatic access to your personalised affiliate feeds. Secure, scalable, and built for automation, it allows seamless integration with websites, apps, bots, and advanced automation systems.

Understanding this overview prepares you for the next section: Authentication & API Keys.


We will be happy to hear your thoughts

Leave a reply

AnydealsUK
Logo