[ Redirection Count: 139,688,036 ]

* Donation

If you like ZZB.BZ...

Press the button above, and Make A Fast Donation.

Just 3 USD (99 TWD), When I work late... Buy me a beer!

 

* Features

  • After login, you may manage your own short url that you created before.
  • You may use the API to create new url.
  • Support password-protected short URL.
  • Support resolve short URL with a trailing "!", for an example: http://zzb.bz/string! could show you the original URL.
 

* Bookmark Tool

zzb.bz - short url

Drag this button to you browser's bookmark toolbar, or add it to your bookmark list.

 

* API

Your API key Information

API Key please login to get your API KEY.

Process your data via HTTP POST Mehod to the web service, and it will return the result in JSON format.

API Web Service Urlhttp://zzb.bz/panel/api/create/
NAMEVALUE
keyyour api key
urlyour huge url
password (* optional)the password to protect the short url, max lengh is 12 chars
description (* optional)the description of the short url, max lengh is 256 chars
		

		/* example code in php. */

		$url = "http://zzb.bz/panel/api/create/";

		$ch = curl_init();

		curl_setopt($ch, CURLOPT_URL, $url);
		curl_setopt($ch, CURLOPT_POST, TRUE);

		$param_key = "XXXX"; // your api key
		$param_url = "http://www.example.com";  // your huge url
		$param_password = "";
		$param_description = "";

		$array = array(
				'key'         => $param_key,
				'url'         => $param_url,
				'password'    => $param_password,
				'description' => $param_description
			);

		curl_setopt($ch, CURLOPT_POSTFIELDS , http_build_query($array));
		curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
		curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE);

		$response = curl_exec($ch);

		curl_close($ch);

		echo $response;

		
	
		
		HTTP Response Example:

		success:
		{"Status":"Success","ApiKey":"XXXXX","Result":"http:\/\/zzb.bz\/7n7EW"}

		failed:
		{"Status":"Failed","ApiKey":"XXXXX","Result":"The URL field is required. \n Invalid api key."}