Have REST API? Get Webhooks!

Poll2hook is a platform that uses polling of REST APIs to deliver near real-time updates through webhooks. By utilizing our service, you can easily set up notifications for changes to your (or someone else's) API data and streamline your system, saving time and resources.

Get notified when our platform is available for use by giving us your email address. You'll also get 30Gb of free traffic!
We will only use your email to notify you about poll2hook

Use Cases

Convert 3d-party APIs to notifications

Polling is inefficient and increases system complexity when all you want is to receive a notification. With poll2hook, you can easily convert APIs to webhooks, so you can receive real-time notifications whenever there's new data. This will save you time and resources, and allow you to build more efficient and responsive applications.

Provide webhooks for your platform

Do you want to offer webhooks for your platform, but don't want to go through the hassle of implementing them yourself? Poll2hook can help. With our platform, you can easily provide webhooks for your customers without having to do any of the heavy lifting.

Serverless notifications

Using our magic links, you can create webhooks for your customers without any servers at all, all you need is a REST API to poll.


How It Works

To define a poll2hook job, you will need:

  1. Source URL to poll, let's use api.github.com/repos/clojure/clojure/commits as an example:
    $ curl https://api.github.com/repos/clojure/clojure/commits
    [
      {
        "sha": "527b330045ef35b47a968d80ed3dc4999cfa2623",
        "commit": {...},
        ...
      },
      ...
    ]
  2. A jq query to extract events, e.g. .[] | {sha: .sha, message: .commit.message, name: .commit.author.name}. For the example URL, this JSON query will produce events that look like this:
    $ curl ... | jq '.[] | {sha: .sha, message: .commit.message, name: .commit.author.name}'
    {
      "sha": "527b330045ef35b47a968d80ed3dc4999cfa2623",
      "message": "CLJ-2715 partitionv - group last padded partition for inclusion in seq of partitions",
      "name": "Steve Miner"
    }
    ...
  3. Target URL that will receive notification with a batch of events — a JSON object that looks like this:
    {
      "events": [
        {
          "sha": "527b330045ef35b47a968d80ed3dc4999cfa2623",
          "message": "CLJ-2715 partitionv - group last padded partition for inclusion in seq of partitions",
          "name": "Steve Miner"
        },
        ...
      ]
    }
And you are ready to go, the rest is on us! There are of course other options like polling intervals, retention rules, event updates, batch sizes etc., but with these basic building blocks it is very easy to get going.


Features

Efficient

Poll2hook efficiently monitors REST APIs for updates by using ETags and Last-Modified headers to optimize the polling process, ultimately saving you money.

Secure

Poll2hook cryptographically signs the payload of webhook notifications, ensuring that the client can verify the authenticity of the data and be protected from fake notifications.

Reliable

Poll2hook is a reliable tool due to its alerts for failed requests and good Service Level Agreement, ensuring consistent monitoring of your APIs and timely updates.

Simple

Poll2hook has a simple and straightforward API that hides the complexity of both polling and webhooks, making it easy for you to set up and use.

Friendly

Poll2hook provides developer tools and resources that help with development, testing and debugging, making it easy to integrate.

Lasting

In the unlikely event that we go out of business, Poll2hook pledges to open source the code so you can continue using the tool.

Pricing

We offer a single usage-based pricing model: you pay $1.5 per GB of network traffic, monthly. Additionally, you get 1GB of free traffic each month, which means that for infrequent jobs (e.g. polling once per minute), you can use the service for free:

Unified pricing plan
Traffic (Gb per month) Price (per Gb)
0 – 1 Free
1 – ∞ $1.5
Interested? Get notified when our platform is available for use by giving us your email address. You'll also get 30Gb of free traffic!
We will only use your email to notify you about poll2hook

Questions?

If you're interested in integrating poll2hook into your project but have questions, don't hesitate to reach out to us. Simply email us at hi@vlaaad.dev, and we'll be happy to answer any questions you may have.