White label URL Shortener

Integrate the API with the Python API

Setup the API trigger to run a workflow which integrates with the Python API. Pipedream's integration platform allows you to integrate and Python remarkably fast. Free for developers.

Run Python Code with Python API on New event for each link created. from API + Python
Try it
New event for each link created. from the API

Emit new event when a link is created.

Try it
Create a Short Link with the API

Create a Short Link. See the docs.

Try it
Run Python Code with the Python API

Write Python and use any of the 350k+ PyPi packages available. Refer to the Pipedream Python docs to learn more.

Try it
Delete a Short Link with the API

Delete a Short Link. See the docs.

Try it
Domain Statistics. with the API

Returns detailed statistics for domain in given period. See the docs.

Try it
Expire a Link. with the API

Expire a link by id. See the docs.

Try it

Overview of

With the API, you can create powerful links for a variety of
use-cases. It is possible to shorten, brand, measure, and even monetize your

Here is a list of uses for the API:

  • Shorten URLs – Create shortened URLs you can share on social media, web
    pages, and other places where you want a clean, concise link.
  • Brand Links – Create SEO-friendly branded links with custom domains and
    analytics tracking.
  • Measure Performance – Analyze ROI and user engagement via links in app
    notifications, emails, SMS, etc.
  • Monetize Your Links – Monetize traffic with pay-per-click advertising links,
    affiliate programs, and subscription services.
  • Automation – Automatically shorten URLs for SEO purposes, or for integrating
    into other websites and services.
  • Track & Report – Get real-time statistics about link performance, as well as
    performance on integrated services.
  • Security & Privacy – Secure your links with password protection and UTM
    parameters to better protect your data.


import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    short: {
      type: "app",
      app: "short",
  async run({steps, $}) {
    return await axios($, {
      url: ``,
      headers: {
        "Accept": `application/json`,
        "Authorization": `${this.short.$auth.secret_key}`,

Overview of Python

Python API on Pipedream offers developers to build or automate a variety of
tasks from their web and cloud apps. With the Python API, users are able to
create comprehensive and flexible scripts, compose and manage environment
variables, and configure resources to perform a range of functions.

By using Pipedream, you can easily:

  • Create automated workflows that run on a specific schedule
  • Compose workflows across various apps and services
  • React to events in cloud services or form data
  • Automatically create content and notifications
  • Construct classifications and predictions
  • Analyze and react to sentiment, sentiment analysis and sentiment score
  • Connect backends to the frontend with serverless functions
  • Work with files and databases
  • Perform web requests and fetch data
  • Integrate third-party APIs into your apps
  • Orchestrate data processing tasks and pipelines
  • Create powerful application APIs with authentication and authorization
  • Design CI/CD pipelines and Continuous Delivery services
  • Connect databases like MongoDB and MySQL
  • Monitor connections and events
  • Generate alerts and notifications for corresponding events

Connect Python

def handler(pd: "pipedream"):
  # Reference data from previous steps
  # Return data for use in future steps
  return {"foo": {"test":True}}