Review us

ShrinkCo.in API documentation

It could lead to problems if inputs are not URL encoded.

shrink a URL

Get Request

shrinkco.in/api/shrink

API_KEY
Your API key you can get from your account page

URL
The URL you want to shrink

IS_INSTANT
If set true, your redirects are instant and you earn no money.
If set false will monetize your traffic.
The default is true

JSON Result

202

{"status":202,"id":"YOUR_ID","result":"rdrct.in/YOUR_ID"}


404

{"status":404,"message":"ERROR_MESSAGE"}

delete a shrunk URL

Get Request

shrinkco.in/api/delete

API_KEY
Your API key you can get from your account page

ID
The ID of your shrunk URL you want to delete

JSON Result

202

{"status":202}


404

{"status":404,"message":"ERROR_MESSAGE"}

check shrunk URLs clicks

Get Request

shrinkco.in/api/clicks

API_KEY
Your API key you can get from your account page

ID
The ID of your shrunk URL you want to check

JSON Result

202

{"status":202,"clicks":CLICKS,"unique":UNIQUE_CLICKS}


404

{"status":404,"message":"ERROR_MESSAGE"}

check shrunk URLs campaign clicks

Get Request

shrinkco.in/api/campaign

API_KEY
Your API key you can get from your account page

ID
The ID of your shrunk URL you want to check

CAMPAIGN
The campaign name you want to check the clicks for

JSON Result

202

{"status":202,"campaign":"CAMPAIGN","clicks":CLICKS}


404

{"status":404,"message":"ERROR_MESSAGE"}