XPRESSO Search API

Our Search API can be used to automatically predict and generate XPRESSO GIFs which closely matches with the emotion user wants to express using the entered message and personalized avatar.Otherwise a set of default GIFs is returned.

HTTP API

Hostname: xpresso2.mobigraph.co
Endpoint: /xpresso/v1/search
HTTP method: GET

Following attributes to be set-
1. API Key
2. Query

Test Integration Key

(6hSjEEYWVHTmSUUwvwjJzTpX8_zq8noEYq2-_r5ABnkq98vSw1jvHFKncRlYUA-C) can be used for trying out.

This key SHOULD not be used in production as it is rate limited.
The query attribute should be set with the actual search term and should be URL encoded.

Example Of Request

https://xpresso2.mobigraph.co/xpresso/v1/search?apiKey=6hSjEEYWVHTmSUUwvwjJzTpX8_zq8noEYq2-_r5ABnkq98vSw1jvHFKncRlYUA-C&query=Hey+There

Response

200 – application/json

{
"lowResGifs": [
"https://xpresso2.mobigraph.co/lowresgif/1bfaLcimzkhPQ2w9jwolG3qxXUqmdjw-0/query/SGVsbG8gUXVnbw%3D%3D/a8010000.gif",
"https://xpresso2.mobigraph.co/lowresgif/1bfaLcimzkhPQ2w9jwolG3qxXUqmdjw-0/query/SGVsbG8gUXVnbw%3D%3D/7f140000.gif",
"https://xpresso2.mobigraph.co/lowresgif/1bfaLcimzkhPQ2w9jwolG3qxXUqmdjw-0/query/SGVsbG8gUXVnbw%3D%3D/a20f0000.gif",
"https://xpresso2.mobigraph.co/lowresgif/1bfaLcimzkhPQ2w9jwolG3qxXUqmdjw-0/query/SGVsbG8gUXVnbw%3D%3D/9d050000.gif"
],

"highResGifs": [
"https://xpresso2.mobigraph.co/gif/1bfaLcimzkhPQ2w9jwolG3qxXUqmdjw-1/query/SGVsbG8gUXVnbw%3D%3D/a8010000.gif",
"https://xpresso2.mobigraph.co/gif/1bfaLcimzkhPQ2w9jwolG3qxXUqmdjw-1/query/SGVsbG8gUXVnbw%3D%3D/7f140000.gif",
"https://xpresso2.mobigraph.co/gif/1bfaLcimzkhPQ2w9jwolG3qxXUqmdjw-1/query/SGVsbG8gUXVnbw%3D%3D/a20f0000.gif",
"https://xpresso2.mobigraph.co/gif/1bfaLcimzkhPQ2w9jwolG3qxXUqmdjw-1/query/SGVsbG8gUXVnbw%3D%3D/9d050000.gif"
],

"txnId": "18e8bdaf-7560-4ad7-942a-116b9a8f2fb3",
"resultSize": 12,
"offset": 0

}

Result Payload Description

Name Type Desc
lowResGifs List of Strings Contains the URLs of low resolution GIFsist of Strings
highResGifs List of Strings Contains the URLs for high resolution GIFs
txnld String Request identifier
resultSize Int Gives the total count of matched GIFs
Offset Int Page position

Response Status Codes

500 – Server error
An error happened at XPRESSO server

429 – Too many requests
More requests have come than the limit

401 – Unauthorized
Invalid access key

400 – Bad request
Necessary parameters not set or invalid

502 – XPRESSO Servers not available

For More API documents, Sign Up and we will get back to you

Or Write To Us: hello@xpresso.tech