Get Short URL Stats
yourls.url_stats
ActionBusiness appsconnection required
Calls the YOURLS API with the connection's credentials.
Read the stored row and click count for one short URL.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- API key
- Providers
- YOURLS
- Secret shape
- {"signature": "…"} or {"username": "…", "password": "…"}
- Config it needs
- base_url
- Resolved by
- config.connection_id, else node.connection_id
Configuration
1 field, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
shorturl The short URL to act on: either the bare keyword ('abc') or the whole link ('https://sho.rt/abc'). YOURLS accepts both. | string | Yes | — | — | abc |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"shorturl": "abc"
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
link The stored row for this short URL. | object | — |
link.shorturl The full short link YOURLS serves for this keyword. | string | — |
link.url The long URL the short link redirects to. | string | — |
link.title The page title YOURLS stored for the link. | string | — |
link.timestamp When the link was created, as YOURLS stored it. | string | — |
link.ip The IP address the link was created from. | string | — |
link.clicks How many times the short link has been followed. | number | — |
message YOURLS's own result message. | string | — |
{
"link": {
"clicks": 0,
"ip": "",
"shorturl": "",
"timestamp": "",
"title": "",
"url": ""
},
"message": ""
}Notes
- An unknown keyword answers 404 and fails the step.
Related YOURLS nodes
See Get Short URL Stats run in a workflow.
In a technical demo we add the YOURLS connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.