Get Metrics for a Bitlink by Referrers

GET {{baseUrl}}/bitlinks/:bitlink/referrers?unit=day&units=5&size=10&unit_reference=2006-01-02T15:04:05-0700

Returns referrer click counts for the specified link.

Request Params

KeyDatatypeRequiredDescription
unitstring(Required) A unit of time
unitsnumber(Required) An integer representing the time units to query data for. pass -1 to return all units of time.
sizenumberThe quantity of items to be be returned
unit_referencestringAn ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000)

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{"units":97484401,"facet":"cities","unit_reference":"mollit","unit":"elit ut adipisicing","metrics":[{"clicks":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"value":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"clicks":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"value":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}]}