Below you will the documentation for Socialmetrix Echo API. Any doubt or suggestion you can contact us directly.
In order to access our API you need to get your credentials consisting of an username and a token, please refer to your account executive to obtain them. They will be like this:
Username: arjones
Token: e621ef33-62b0-4a44-9c9c-559f40b546cb
Our current API uses your Echo Instance as base url , your instance is defined at your URL, for example, if your url is: http://socialmetrix-lat.smxecho.com/ your instance is socialmetrix-lat
.
Once you have the instance, you can setup the base url as follows:
http://$INSTANCE.smxecho.com/ws/$INSTANCE/echo
Once you have your credentials you MUST include them as part of HTTP HEADER.
As an example, using curl
:
INSTANCE=socialmetrix-lat
SMXUSER=arjones
TOKEN=e621ef33-62b0-4a44-9c9c-559f40b546cb
curl \
-H "username: $SMXUSER" \
-H "token: $TOKEN" \
-H 'Content-Type: application/json' \
"http://$INSTANCE.smxecho.com/ws/$INSTANCE/echo/options/brands"
During this initial phase, the API isn't rate limited, we want to learn from our customers' consumption patterns to provide an easy to use API. Keep in mind that misuse or abuse will be blocked.
Currently available endpoints are:
- /options/brands: Provides information about the brands metadata.
- /reputation/brands: Provides information about the brand reputation.
- /sparkline/brands/mentions: Provides information about the brand's mentions.
- /sparkline/brands/authors: Provides information about the brand's authors.
- /sparkline/brands/sources: Provides information about the brand's sources.
Please tell us how we can make the API better. If you have a specific feature request or if you found a bug, please use GitHub issues. Fork these docs and send a pull request with improvements.