http://seomafia.net/api.php?url=YOUR-LONG-URL&custom=YOUR-CUSTOM-NAME
http://seomafia.net/P
http://seomafia.net/API/write/get
http://seomafia.net/api/write/post
The url you want to shrink.
required.Custom name.
optional.Response type (json|xml).
optional, default: json.Set url to private (not listed).
optionalSet url password.
optional (max 10 chars)Number of uses for the url.
optionaldate in format MM/DD/YYYY to expire url.
optionalAdds a signature to track your application.
optionalhttp://seomafia.net/API/write/get?url=http://youtube.com&custom=mycustomname&type=xml
<response> <success>1</success> <data> <id>mycustomname</id> <url>http://seomafia.net/mycustomname</url> <full>http://youtube.com</full> <hits>0</hits> <status>custom_new</status> <via>api</via> <date>1330715001</date> <last>1330719941</last> </data> </response>
http://seomafia.net/API/read/get
http://seomafia.net/api/read/post
ID of the url you want to access.
required.password for url (if protected).
optional.Response type (json|xml).
optional, default: json.http://seomafia.net/API/read/get?id=P&password=0000&type=xml
<response> <success>1</success> <data> <id>P</id> <hits>101</hits> <ads>1</ads> <hits>0</hits> <full>http://google.com</full> <created>1334239095</created> <last>1334241124</last> </data> </response>
(true|false) for request success.
Unique identifier of url.
Shortened url.
Full url before shortened.
Clicks left to inactivate url.
Number of hits to the link.
Indicate if url use ads.
Timestamp where the url was make.
Timestamp for the las click.
Timestamp to inactivate link.
<response> <success>0</success> <error> <code>0</code> <msg>domain not allowed</msg> </error> </response>
(true|false) for request success.
Error code: 0, 1 and 2.
Error msg.
- SEOMAFiA.NET