The discovery API allows you to discover customers in the eToro network. It is important to note that only customers who have opted-in for discovery will be shown by this APIThe search API allows you to filter customers according to periodic aggregate data. For a full explanation on the mechanics of filtering, ordering and paging, see <a href="/discovery-filtering">this blog post</a>The requested periodThe requested page number. Defaults to 1The requested page sizeThe requested sort. Sorting may be applied to multiple columns. For descending order a '-' prefix should be used.A comma delimited list of fields which should be returnedThe discovery metadata API returns the values which can be queried<style>
.my-param {
padding-left: 15px;
font-weight: bold;
}
.my-row {
margin-bottom: 15px;
height: 3.5em;
}
</style>
<br>The result is a vector of member descriptors which are returned by the search API. The following is the descriptor object<br>
<table style="width: 100%;">
<tr class="my-row"><td class="my-param" style="width: 25%;"><b>Name</b></td><td style="width: 8.3%;">string</td><td>The member name. The member will be part of the returned object in the search API, and will be used for filtering and ordering the results in the API</td></tr>
<tr class="my-row"><td class="my-param" >Display Name</td><td>string</td><td>A human friendly name </td></tr>
<tr class="my-row"><td class="my-param" >Description</td><td>string</td><td>A description of the member</td></tr>
<tr class="my-row"><td class="my-param" >Type</td><td>string</td><td>The data type of the member. It may be on of the following: integer, number, string, datetime</td></tr>
<tr class="my-row"><td class="my-param" >Group</td><td>string</td><td>The grouping of the member. The values may be: Demographics, Gain, Risk, copy, Trading and Engagement</td></tr>
<tr class="my-row"><td class="my-param" >Operation</td><td>string</td><td>The filtering operation which is applicable for this operation. The operation determines the way filtering can be applied. The valid values are: None, Equality, MinMax and In</td></tr>
</table>[
{
"name": "UserName",
"displayName": "Username",
"description": "The username of the customer",
"type": "string",
"group": "Demographics",
"operation": "None"
},
{
"name": "WeeksSinceRegistration",
"displayName": "Weeks Since Registration",
"description": "Number of weeks since registration",
"type": "integer",
"group": "Demographics",
"operation": "MinMax"
}
]