White label URL Shortener
Write custom Node.js code and use any of the 400k+ npm packages available. Refer to the Pipedream Node docs to learn more.
Returns detailed statistics for domain in given period. See the docs.
With the Short.io API, you can create powerful links for a variety of
use-cases. It is possible to shorten, brand, measure, and even monetize your
links.
Here is a list of uses for the Short.io API:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
short: {
type: "app",
app: "short",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.short.io/api/domains`,
headers: {
"Accept": `application/json`,
"Authorization": `${this.short.$auth.secret_key}`,
},
})
},
})
// To use previous step data, pass the `steps` object to the run() function
export default defineComponent({
async run({ steps, $ }) {
// Return data to use it in future steps
return steps.trigger.event
},
})