running
Methods
- capabilities
- query
capabilities (GET)
Get the current capabilities of the registered datasources
Parameters
This method has no parameters
Results (Array)
Can read the age of the domain
For example: "1"
Can count backlinks
For example: "1"
Can count clicks
For example: "1"
Can count comments
For example: "1"
The ID of the datasource
For example: "3"
True if the URL is listed in the directory
For example: "1"
The number of indexed pages
For example: "1"
The IPv4-Address of the domain
For example: "1"
The number of likes (or similar depending on plattforms)
For example: "1"
Informations about the datasource
For example: "some useful informations about the source"
The rank of the URL
For example: "1"
The response time of the website in seconds
For example: "1"
The number of domains from the same IP-Address
For example: "1"
The number of shares (or similar depending on plattforms)
For example: "1"
The name of the datasource (used i.e. as key in assoziative arrays)
For example: "datasource"
Example
[
{
"age": 1,
"backlinks": 1,
"clicks": 1,
"comments": 1,
"id": 3,
"inDirectory": 1,
"indexed": 1,
"ipv4": 1,
"likes": 1,
"notes": "some useful informations about the source",
"rank": 1,
"responseTime": 1,
"sameIpDomains": 1,
"shares": 1,
"source": "datasource"
}
]
JSON (Learn how)
GET http://Eiu0P3ICDOVRLjCEvn3Kx9scC.proxy.mashape.com/api.php?_method=capabilities
- The required parameters have a yellow background, while the optional are gray
- Authentication: Request a valid _token before making the API call. Learn how.
query (GET)
Query data for an URL
Parameters
The URL
For example: "http://www.example.com"
The name or ID of a datasource, can contain a comma-separated list of sources
For example: "facebook,twitter"
The fields to return for the requested sources, can contain a comma-separated list of fields.
For example: "shares,likes"
Results (Array)
The human-readable name of the source
For example: "facebook"
The age of the domain in seconds
For example: "12345678"
The number of backlinks
For example: "345"
The number of clicks for the URL
For example: "1234"
The number of comments
For example: "123"
Is the URL listed in the directory?
For example: "1"
The number of indexed pages
For example: "123"
The IPv4-Address of the domain
For example: "0.0.0.0"
The number of likes
For example: "123"
The ranking of the URL
For example: "4"
The repsonse time of the URL
For example: "0.123456"
The num ber of domain with the same IPv4-Address
For example: "12"
The number of shares for the URL
For example: "123"
Errors (Array)
Value: "-10"
Value: "E_INVALID_URL"
Value: "-11"
Value: "E_INVALID_DATASOURCE"
Value: "-20"
Value: "E_NO_DATASOURCE"
Value: "-30"
Value: "E_GET_DATA"
Value: "-40"
Value: "E_EMPTY_DATA"
Value: "-100"
Value: "E_COMMON"
Value: "-999"
Value: "E_UNKNOWN"
Example
[
{
"source": "facebook",
"age": 12345678,
"backlinks": 345,
"clicks": 1234,
"comments": 123,
"inDirectory": 1,
"indexed": 123,
"ipv4": "0.0.0.0",
"likes": 123,
"rank": 4,
"responseTime": 0.123456,
"sameIpDomains": 12,
"shares": 123
}
]
