Svrf API Docs

Trending Endpoint – /vr/trending

The Svrf Trending Endpoint provides your app or project with the hottest immersive content curated by real humans. The experiences returned mirror the Svrf search page, from timely cultural content to trending pop-culture references. The trending experiences are updated regularly to ensure users always get fresh updates of immersive content.

Query Parameters

ParameterTypeDescription
sizeintegerThe number of results to return per-page, from 1 to 100 (default: 10).
pageNumintegerPagination control to fetch the next page of results, if applicable.
isFaceFilterbooleanSearch only for face filters.
hasBlendShapesbooleanSearch only for Media that has blend shapes.
requiresBlendShapesbooleanSearch only for Media that requires blend shapes.

Response

Successful Response

Successfully fetched the Media.

KeyTypeDescription
successbooleanIf the request was successful.
pageNumintegerThe current page number.
nextPageNumintegerThe next page to query to see more results, whether or not the next page actually exists.
media[object]The search results in an array of Media. See Media schema.

Error Response

KeyTypeDescription
successbooleanIf the request was successful.
messagestringError message.

Examples

cURL
curl --request GET \
--url 'https://api.svrf.com/v1/vr/trending?size=10&isFaceFilter=true' \
--header 'accept: application/json' \
--header 'x-app-token: YOUR-APP-TOKEN'
Node.js
var request = require("request");
var options = {
method: 'GET',
url: 'https://api.svrf.com/v1/vr/trending',
qs: {size: '10', isFaceFilter: 'true'},
headers: {accept: 'application/json', 'x-app-token': 'YOUR-APP-TOKEN'}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});