Get the marketplace homepage

GET https://api.cryptohopper.com/v1/market/homepage

Returns the item sections of the marketplace homepage: featured items, editor's picks, top signals and best rated strategies and templates. Items in each section are shuffled, and the result is cached for 5 minutes.

OAuth scope: read About scopes

A section is an empty list when nothing is selected for it. A home_best_rated_signals section is added when one is configured; its items also have avg_profit_trade.

Example request

curl "https://api.cryptohopper.com/v1/market/homepage" \
  -H "access-token: YOUR_ACCESS_TOKEN"

Parameters

Headers

NameTypeRequiredDescription
access-token string Required The OAuth access token of the user.

Query parameters

NameTypeRequiredDescription
in_app string Optional Set to 1 to get the selection made for the mobile app. Leave it out, or send 0, for the website selection.

Response

Example response (illustrative values)

{
    "data": {
        "featured_home": [
            {
                "id": "10512",
                "item_type": "template",
                "logo": "https://cdn.cryptohopper.com/images/marketplace/10512.png",
                "name": "Binance Swing Trader",
                "description": "Swing trading template for major USDT pairs.",
                "total_votes": "12",
                "rating": "4.50000",
                "sales": "340",
                "price": "19.00",
                "available_in_app": "1"
            }
        ],
        "home_editors_pick": [],
        "home_top_signals": [
            {
                "id": "42",
                "item_type": "signal",
                "logo": "https://cdn.cryptohopper.com/images/signals/42.png",
                "name": "Alpha Signals",
                "description": null,
                "total_votes": "8",
                "rating": "4.25000",
                "sales": null,
                "price": "29.00",
                "available_in_app": "1"
            }
        ],
        "home_best_rated_strategies": [],
        "home_best_rated_templates": [
            {
                "id": "10512",
                "item_type": "template",
                "logo": "https://cdn.cryptohopper.com/images/marketplace/10512.png",
                "name": "Binance Swing Trader",
                "description": "Swing trading template for major USDT pairs.",
                "total_votes": "12",
                "rating": "4.50000",
                "sales": "340",
                "price": "19.00",
                "available_in_app": "1"
            }
        ]
    }
}

Status codes: 200. Errors return JSON with status, error and message. See How the API works for response codes and rate limits.