### cURL GET Request Example Source: https://lzt-market.readme.io/reference/categorybattlenet Example of how to make a GET request to the lzt-market Battlenet API using cURL. Requires an 'accept' header. ```shell curl --request GET \ --url https://prod-api.lzt.market/battlenet \ --header 'accept: application/json' ``` -------------------------------- ### cURL GET Request Example Source: https://lzt-market.readme.io/reference/categorymihoyo-1 Example of how to make a GET request to the Lzt Market API using cURL. Ensure you include the 'accept' header for JSON responses. ```shell curl --request GET \ --url https://prod-api.lzt.market/mihoyo \ --header 'accept: application/json' ``` -------------------------------- ### cURL GET Request Example Source: https://lzt-market.readme.io/reference/categoryescapefromtarkov This cURL command demonstrates how to make a GET request to the specified URL with an 'accept' header for JSON. Ensure you include valid authentication credentials. ```shell curl --request GET \ --url https://prod-api.lzt.market/escape-from-tarkov \ --header 'accept: application/json' ``` -------------------------------- ### cURL Request Example Source: https://lzt-market.readme.io/reference/categoryea Demonstrates how to make a GET request to the LZT Market API using cURL. Ensure you include the 'accept' header for JSON responses. ```shell curl --request GET \ --url https://prod-api.lzt.market/ea \ --header 'accept: application/json' ``` -------------------------------- ### cURL GET Request Example Source: https://lzt-market.readme.io/reference/categoryepicgames This cURL command demonstrates how to make a GET request to the LZT Market API endpoint for Epic Games. Ensure you include the 'accept' header for JSON responses. ```shell curl --request GET \ --url https://prod-api.lzt.market/epicgames \ --header 'accept: application/json' ``` -------------------------------- ### Market API Endpoint Example Source: https://lzt-market.readme.io/reference/information This example demonstrates how to interact with the Market API, specifically for adding a tag to an account. It highlights the difference between web requests and API requests. ```APIDOC ## POST /market/{item_id}/tag/add ### Description Adds a tag to a specified item. ### Method POST ### Endpoint `prod-api.lzt.market/{item_id}/tag/add` ### Parameters #### Query Parameters - **tag_id** (integer) - Required - The ID of the tag to add. ### Request Example ```json { "item_id": "123456789", "tag_id": 10 } ``` ### Response #### Success Response (200) - **message** (string) - Confirmation message. #### Response Example ```json { "message": "Tag added successfully." } ``` ``` -------------------------------- ### cURL GET Request Example Source: https://lzt-market.readme.io/reference/categoryinstagram This cURL command demonstrates how to make a GET request to the Instagram endpoint. Ensure you include the 'accept' header for JSON responses. ```shell curl --request GET \ --url https://prod-api.lzt.market/instagram \ --header 'accept: application/json' ``` -------------------------------- ### GET /api/v1/system/info Source: https://lzt-market.readme.io/reference/autopaymentslist Retrieves general system information. ```APIDOC ## GET /api/v1/system/info ### Description Retrieves general system information, including visitor ID, current time, and log ID. ### Method GET ### Endpoint /api/v1/system/info ### Response #### Success Response (200) - **visitor_id** (integer) - The unique identifier for the current visitor. - **time** (integer) - The current server time, likely in Unix timestamp format. - **log_id** (integer) - An identifier for the current log entry. #### Response Example ```json { "visitor_id": 98765, "time": 1678886400, "log_id": 123456789 } ``` ``` -------------------------------- ### API Request Example (Add Tag) Source: https://lzt-market.readme.io/reference/information Illustrates how to add a tag to an item using the API. This example shows the URL structure for the API request, which differs from the web request. ```http prod-api.lzt.market/{item_id}/tag/add?tag_id={tag_id} ``` -------------------------------- ### GET /ea Source: https://lzt-market.readme.io/reference/categoryea Retrieves a list of accounts based on specified parameters. ```APIDOC ## GET /ea ### Description Displays a list of accounts in a specific category according to your parameters. ### Method GET ### Endpoint https://prod-api.lzt.market/ea ``` -------------------------------- ### GET /minecraft Source: https://lzt-market.readme.io/reference/categoryminecraft Retrieves a list of Minecraft accounts based on specified parameters. ```APIDOC ## GET /minecraft ### Description Displays a list of accounts in a specific category according to your parameters. ### Method GET ### Endpoint https://prod-api.lzt.market/minecraft ### Parameters #### Query Parameters - **category** (string) - Optional - Specifies the category of accounts to retrieve. - **sort** (string) - Optional - Specifies the sorting order for the accounts. - **order** (string) - Optional - Specifies the direction of sorting (e.g., 'asc', 'desc'). ### Response #### Success Response (200) - **accounts** (array) - A list of Minecraft account objects. - **accountId** (integer) - The unique identifier for the account. - **username** (string) - The Minecraft username. - **price** (number) - The price of the account. - **category** (string) - The category the account belongs to. #### Response Example ```json { "accounts": [ { "accountId": 12345, "username": "Steve", "price": 10.50, "category": "Standard" }, { "accountId": 67890, "username": "Alex", "price": 15.00, "category": "Premium" } ] } ``` ``` -------------------------------- ### GET /mihoyo Source: https://lzt-market.readme.io/reference/categorymihoyo-1 Retrieves a list of accounts based on specified parameters. ```APIDOC ## GET /mihoyo ### Description Displays a list of accounts in a specific category according to your parameters. ### Method GET ### Endpoint https://prod-api.lzt.market/mihoyo ### Parameters #### Query Parameters - **category** (string) - Optional - The category of accounts to filter by. - **limit** (integer) - Optional - The maximum number of accounts to return. - **offset** (integer) - Optional - The number of accounts to skip before returning results. ### Response #### Success Response (200) - **accounts** (array) - A list of account objects. - **accountId** (string) - The unique identifier for the account. - **username** (string) - The username associated with the account. - **email** (string) - The email address associated with the account. #### Response Example ```json { "accounts": [ { "accountId": "acc_12345", "username": "example_user", "email": "user@example.com" } ] } ``` ``` -------------------------------- ### GET /fortnite Source: https://lzt-market.readme.io/reference/categoryfortnite Retrieves a list of Fortnite accounts based on specified parameters. ```APIDOC ## GET /fortnite ### Description Displays a list of accounts in a specific category according to your parameters. ### Method GET ### Endpoint https://prod-api.lzt.market/fortnite ### Parameters #### Query Parameters - **category** (string) - Optional - Specifies the category of accounts to retrieve. - **limit** (integer) - Optional - The maximum number of accounts to return. - **offset** (integer) - Optional - The number of accounts to skip before returning results. ### Response #### Success Response (200) - **accounts** (array) - A list of Fortnite account objects. - **accountId** (string) - The unique identifier for the account. - **username** (string) - The username of the account. - **platform** (string) - The platform the account is associated with (e.g., PC, PlayStation, Xbox). - **price** (number) - The price of the account. - **description** (string) - A description of the account. #### Response Example ```json { "accounts": [ { "accountId": "acc_12345", "username": "GamerTag1", "platform": "PC", "price": 50.00, "description": "Includes rare skins and emotes." }, { "accountId": "acc_67890", "username": "ProGamer2", "platform": "PlayStation", "price": 75.00, "description": "High K/D ratio, all battle passes unlocked." } ] } ``` ``` -------------------------------- ### GET /discord Source: https://lzt-market.readme.io/reference/categorydiscord Retrieves a list of accounts in a specific category based on provided parameters. ```APIDOC ## GET /discord ### Description Displays a list of accounts in a specific category according to your parameters. ### Method GET ### Endpoint https://prod-api.lzt.market/discord ``` -------------------------------- ### GET /fortnite Source: https://lzt-market.readme.io/reference/categoryfortnite Retrieves Fortnite shop data and account information based on specified filters. ```APIDOC ## GET /fortnite ### Description Retrieves Fortnite shop data and account information based on specified filters. ### Method GET ### Endpoint https://prod-api.lzt.market/fortnite ### Query Parameters - **pickaxes_shop_vbmin** (integer) - Optional - Minimum total cost of all pickaxes in the shop in V-Bucks. - **pickaxes_shop_vbmax** (integer) - Optional - Maximum total cost of all pickaxes in the shop in V-Bucks. - **dances_shop_vbmin** (integer) - Optional - Minimum total cost of all dances in the shop in V-Bucks. - **dances_shop_vbmax** (integer) - Optional - Maximum total cost of all dances in the shop in V-Bucks. - **gliders_shop_vbmin** (integer) - Optional - Minimum total cost of all gliders in the shop in V-Bucks. - **gliders_shop_vbmax** (integer) - Optional - Maximum total cost of all gliders in the shop in V-Bucks. - **bp** (string) - Optional - Enum: `yes`, `no`, `nomatter` - Has Battle Pass. - **lmin** (integer) - Optional - Minimum level (>= 0). - **lmax** (integer) - Optional - Maximum level (>= 0). - **bp_lmin** (integer) - Optional - Minimum level of Battle Pass (>= 1). - **bp_lmax** (integer) - Optional - Maximum level of Battle Pass (>= 1). - **last_trans_date** (integer) - Optional - How old is the last transaction (>= 0). - **last_trans_date_period** (string) - Optional - Enum: `day`, `month`, `year` - In what notation is time measured. - **no_trans** (boolean) - Optional - Has no transactions. - **xbox_linkable** (string) - Optional - Enum: `yes`, `no`, `nomatter` - Can be linked to Xbox. - **psn_linkable** (string) - Optional - Enum: `yes`, `no`, `nomatter` - Can be linked to PSN. - **daybreak** (integer) - Optional - Number of days the account has been offline (>= 0). - **rl_purchases** (boolean) - Optional - Has Rocket League purchases. - **reg** (integer) - Optional - How old is the account (>= 0). - **reg_period** (string) - Optional - Enum: `day`, `month`, `year` - In what notation is time measured. - **refund_credits_min** (integer) - Optional - Minimum number of available refund credits. - **refund_credits_max** (integer) - Optional - Maximum number of available refund credits. - **pickaxe_min** (integer) - Optional - Minimum number of pickaxes. - **pickaxe_max** (integer) - Optional - Maximum number of pickaxes. - **dmin** (integer) - Optional - Minimum number of dances. - **dmax** (integer) - Optional - Maximum number of dances. - **gmin** (integer) - Optional - Minimum number of gliders. - **gmax** (integer) - Optional - Maximum number of gliders. - **country[]** (array of strings) - Optional - List of allowed countries. - **not_country[]** (array of strings) - Optional - List of disallowed countries. - **stw[]** (array of strings) - Optional - STW edition. - **not_stw[]** (array of strings) - Optional - Excluded STW editions. ### Responses #### Success Response (200) - **Success Response Body** (object) - Description of the successful response. #### Error Response (401) - **Error Response Body** (object) - Unauthorized access. ### Request Example ```shell curl --request GET \ --url https://prod-api.lzt.market/fortnite \ --header 'accept: application/json' ``` ### Response Example (200) ```json { "example": "response body" } ``` ``` -------------------------------- ### Successful Response (200 OK) Source: https://lzt-market.readme.io/reference/categorybattlenet Indicates a successful API request. No specific setup is required beyond a valid request. ```http 200 Successful Response. ``` -------------------------------- ### Get Fortnite Data Source: https://lzt-market.readme.io/reference/categoryfortnite This endpoint retrieves Fortnite-related data. Ensure you have the correct authorization. ```shell curl --request GET \ --url https://prod-api.lzt.market/fortnite \ --header 'accept: application/json' ``` -------------------------------- ### GET /websites/lzt-market_readme_io_reference Source: https://lzt-market.readme.io/reference/categoryfortnite This endpoint allows you to retrieve a list of accounts with various filtering and sorting options. The URL for this request expired after 30 days. ```APIDOC ## GET /websites/lzt-market_readme_io_reference ### Description Retrieves a list of accounts with filtering and sorting capabilities. The URL for this request expired after 30 days. ### Method GET ### Endpoint /websites/lzt-market_readme_io_reference ### Parameters #### Query Parameters - **page** (integer) - Optional - The number of the page to display results from. Must be greater than or equal to 1. - **pmin** (integer) - Optional - Minimal price of account (Inclusive). Must be greater than or equal to 1. - **pmax** (integer) - Optional - Maximum price of account (Inclusive). Must be greater than or equal to 1. - **title** (string) - Optional - The word or words contained in the account title. - **order_by** (string) - Optional - Order by. Enum: `price_to_up` (Cheap first), `price_to_down` (Expensive first), `pdate_to_down` (Newest), `pdate_to_up` (Oldest), `pdate_to_down_upload` (Newest uploaded), `pdate_to_up_upload` (Oldest uploaded), `edate_to_up` (Newest edited), `edate_to_down` (Oldest edited), `ddate_to_up` (Newest deleted), `ddate_to_down` (Oldest deleted). - **tag_id[]** (array of integers) - Optional - List of tag ids. Tag list is available via GET /me. - **not_tag_id[]** (array of integers) - Optional - List of tag ids that won't be included. Tag list is available via GET /me. - **public_tag_id[]** (array of integers) - Optional - List of tag ids. Tag list is available via GET /me. - **not_public_tag_id[]** (array of integers) - Optional - List of tag ids that won't be included. Tag list is available via GET /me. - **origin[]** (array of strings) - Optional - List of account origins. Enum: `brute`, `phishing`, `stealer`, `autoreg`, `personal`, `resale`, `dummy` (Only for *Steam* category), `self_registration` (Only for *Telegram* category), `retrieve_via_support` (Only for *Steam*, *Fortnite* categories). - **not_origin[]** (array of strings) - Optional - List of account origins that won't be included. Enum: `brute`, `phishing`, `stealer`, `autoreg`, `personal`, `resale`, `dummy` (Only for *Steam* category), `self_registration` (Only for *Telegram* category), `retrieve_via_support` (Only for *Steam*, *Fortnite* categories). - **user_id** (integer) - Optional - Search accounts of user. - **nsb** (boolean) - Optional - Not sold before. (true/false) - **sb** (boolean) - Optional - Sold before. (true/false) - **nsb_by_me** (boolean) - Optional - Not sold by me before. (true/false) - **sb_by_me** (boolean) - Optional - Sold by me before. (true/false) - **currency** (string) - Optional - Currency in which the cost of the account will be searched. Enum: `rub`, `uah`, `kzt`, `byn`, `usd`, `eur`, `gbp`, `cny`, `try`, `jpy`, `brl`. - **email_login_data** (boolean) - Optional - Has email login data. (true/false) - **email_provider[]** (array of strings) - Optional - Email provider. Enum: `other`, `rambler`, `outlook`, `firstmail`, `notletters`, `mail_ru`. - **email_type[]** (array of strings) - Optional - Email type. Enum: `market`, `autoreg`, `native`, `no`. - **not_email_provider[]** (string) - Optional - Email provider. Enum: `other`, `rambler`, `outlook`, `firstmail`, `notletters`, `mail_ru`. - **parse_same_item_ids** (boolean) - Optional - Parse same item ids. (true/false) - **temp_email** (string) - Optional - Access to market temp mail. Enum: `yes`, `no`, `nomatter`. - **item_domain** (string) - Optional - Domain of native/autoreg email. - **eg** (integer) - Optional - Guarantee type. Enum: `0` (24 hours), `1` (3 days), `2` (Guarantee at the time of purchase), `-1` (12 hours). - **smin** (integer) - Optional - Minimum number of skins. Must be greater than or equal to 0. - **smax** (integer) - Optional - Maximum number of skins. Must be greater than or equal to 0. - **vbmin** (integer) - Optional - Minimum number of V-Bucks. Must be greater than or equal to 0. - **vbmax** (integer) - Optional - Maximum number of V-Bucks. Must be greater than or equal to 0. - **skin[]** (array of strings) - Optional - List of skins. - **pickaxe[]** (array of strings) - Optional - List of pickaxes. - **glider[]** (array of strings) - Optional - List of gliders. - **dance[]** (array of strings) - Optional - List of dances. - **change_email** (string) - Optional - Can change email. Enum: `yes`, `no`, `nomatter`. - **platform[]** (array of strings) - Optional - Platform. - **skins_shop_min** (integer) - Optional - Minimum number of shop skins. - **skins_shop_max** (integer) - Optional - Maximum number of shop skins. - **pickaxes_shop_min** (integer) - Optional - Minimum number of shop pickaxes. - **pickaxes_shop_max** (integer) - Optional - Maximum number of shop pickaxes. - **dances_shop_min** (integer) - Optional - Minimum number of shop dances. - **dances_shop_max** (integer) - Optional - Maximum number of shop dances. - **gliders_shop_min** (integer) - Optional - Minimum number of shop gliders. - **gliders_shop_max** (integer) - Optional - Maximum number of shop gliders. - **skins_shop_vbmin** (integer) - Optional - Minimum total cost of all skins in the shop in V-Bucks. - **skins_shop_vbmax** (integer) - Optional - Maximum total cost of all skins in the shop in V-Bucks. ### Request Example ```json { "example": "request body" } ``` ### Response #### Success Response (200) - **field1** (type) - Description #### Response Example ```json { "example": "response body" } ``` ``` -------------------------------- ### GET /epicgames Source: https://lzt-market.readme.io/reference/categoryepicgames Retrieves a list of Epic Games accounts based on specified parameters. ```APIDOC ## GET /epicgames ### Description Displays a list of accounts in a specific category according to your parameters. ### Method GET ### Endpoint https://prod-api.lzt.market/epicgames ### Parameters #### Query Parameters - **category** (string) - Optional - Specifies the category of accounts to retrieve. - **limit** (integer) - Optional - Limits the number of accounts returned. - **offset** (integer) - Optional - Specifies the starting point for the results. ### Response #### Success Response (200) - **accounts** (array) - A list of Epic Games account objects. - **accountId** (string) - The unique identifier for the account. - **username** (string) - The username associated with the account. - **platform** (string) - The platform the account is associated with (e.g., PC, PlayStation, Xbox). - **status** (string) - The current status of the account (e.g., active, inactive). #### Response Example ```json { "accounts": [ { "accountId": "acc_12345", "username": "gamer1", "platform": "PC", "status": "active" }, { "accountId": "acc_67890", "username": "player_x", "platform": "PlayStation", "status": "active" } ] } ``` ``` -------------------------------- ### GET /games/{categoryName} Source: https://lzt-market.readme.io/reference/categorygames Retrieves a list of games within a specified category. The default category is 'steam'. ```APIDOC ## GET /games/{categoryName} ### Description Displays a list of games in the category. ### Method GET ### Endpoint https://prod-api.lzt.market/{categoryName}/games ### Parameters #### Path Parameters - **categoryName** (string) - Required - Category name. Enum values include: steam, fortnite, mihoyo, otte, telegram, supercell, a-of-tanks, wot-blitz, epicgames, gifts, minecraft, escape-from-tarkov, socialclub, uplay, discord, tiktok, instagram, chatgpt, battle.net, vpn, roblox, warface, hytale. Defaults to steam. ### Request Example ```json { "example": "" } ``` ### Response #### Success Response (200) - **(No specific fields described in the source text)** #### Response Example ```json { "example": "" } ``` #### Error Response (401) - **(No specific fields described in the source text)** ``` -------------------------------- ### Get Gifts List Source: https://lzt-market.readme.io/reference/categorygifts Retrieves a list of accounts in a specific category based on provided parameters. Ensure you are authenticated. ```bash curl --request GET \ --url https://prod-api.lzt.market/gifts \ --header 'accept: application/json' ``` -------------------------------- ### GET /websites/lzt-market Source: https://lzt-market.readme.io/reference/categoryminecraft Retrieves a list of website accounts with various filtering and sorting options. The URL for this request expired after 30 days. ```APIDOC ## GET /websites/lzt-market ### Description Retrieves a list of website accounts with various filtering and sorting options. ### Method GET ### Endpoint /websites/lzt-market ### Parameters #### Query Parameters - **page** (integer) - Optional - The number of the page to display results from. Must be greater than or equal to 1. - **pmin** (integer) - Optional - Minimal price of account (Inclusive). Must be greater than or equal to 1. - **pmax** (integer) - Optional - Maximum price of account (Inclusive). Must be greater than or equal to 1. - **title** (string) - Optional - The word or words contained in the account title. - **order_by** (string) - Optional - Specifies the order of the results. Allowed values: `price_to_up`, `price_to_down`, `pdate_to_down`, `pdate_to_up`, `pdate_to_down_upload`, `pdate_to_up_upload`, `edate_to_up`, `edate_to_down`, `ddate_to_up`, `ddate_to_down`. - **tag_id[]** (array of integers) - Optional - List of tag ids. Tag list is available via **GET /me**. - **not_tag_id[]** (array of integers) - Optional - List of tag ids that won't be included. Tag list is available via **GET /me**. - **public_tag_id[]** (array of integers) - Optional - List of public tag ids. Tag list is available via **GET /me**. - **not_public_tag_id[]** (array of integers) - Optional - List of public tag ids that won't be included. Tag list is available via **GET /me**. - **origin[]** (array of strings) - Optional - List of account origins. Allowed values: `brute`, `phishing`, `stealer`, `autoreg`, `personal`, `resale`, `dummy`, `self_registration`, `retrieve_via_support`. - **not_origin[]** (array of strings) - Optional - List of account origins that won't be included. Allowed values: `brute`, `phishing`, `stealer`, `autoreg`, `personal`, `resale`, `dummy`, `self_registration`, `retrieve_via_support`. - **user_id** (integer) - Optional - Search accounts of a specific user. - **nsb** (boolean) - Optional - Filter for accounts not sold before. Allowed values: `true`, `false`. - **sb** (boolean) - Optional - Filter for accounts sold before. Allowed values: `true`, `false`. - **nsb_by_me** (boolean) - Optional - Filter for accounts not sold by me before. Allowed values: `true`, `false`. - **sb_by_me** (boolean) - Optional - Filter for accounts sold by me before. Allowed values: `true`, `false`. - **currency** (string) - Optional - Currency in which the cost of the account will be searched. Allowed values: `rub`, `uah`, `kzt`, `byn`, `usd`, `eur`, `gbp`, `cny`, `try`, `jpy`, `brl`. - **email_login_data** (boolean) - Optional - Filter for accounts that have email login data. Allowed values: `true`, `false`. - **email_provider[]** (array of strings) - Optional - Filter by email provider. Allowed values: `other`, `rambler`, `outlook`, `firstmail`, `notletters`, `mail_ru`. - **not_email_provider[]** (array of strings) - Optional - Filter by email provider that won't be included. Allowed values: `other`, `rambler`, `outlook`, `firstmail`, `notletters`, `mail_ru`. - **parse_same_item_ids** (boolean) - Optional - Whether to parse same item IDs. Allowed values: `true`, `false`. - **subscription** (string) - Optional - Filter by subscription name. Allowed values: `PC Game Pass`, `Xbox Game Pass Ultimate`. - **subscription_length** (integer) - Optional - Length of the subscription. Must be greater than or equal to 0. - **subscription_period** (string) - Optional - The period for the subscription length. Allowed values: `day`, `month`, `year`. - **autorenewal** (string) - Optional - Filter by auto renewal status. Allowed values: `yes`, `no`, `nomatter`. - **java** (string) - Optional - Filter for accounts with Java edition. Allowed values: `yes`, `no`, `nomatter`. - **bedrock** (string) - Optional - Filter for accounts with Bedrock edition. Allowed values: `yes`, `no`, `nomatter`. - **dungeons** (string) - Optional - Filter for accounts with Minecraft Dungeons. Allowed values: `yes`, `no`, `nomatter`. - **legends** (string) - Optional - Filter for accounts with Minecraft Legends. Allowed values: `yes`, `no`, `nomatter`. - **change_nickname** (string) - Optional - Filter by nickname change availability. Allowed values: `yes`, `no`, `nomatter`. - **capes[]** (array of strings) - Optional - List of capes. - **capes_min** (integer) - Optional - Minimum number of capes. - **capes_max** (integer) - Optional - Maximum number of capes. - **country[]** (array of strings) - Optional - List of allowed countries. - **not_country[]** (array of strings) - Optional - List of disallowed countries. - **hypixel_ban** (string) - Optional - Filter for active Hypixel ban status. Allowed values: `yes`, `no`, `nomatter`. - **hypixel_skyblock_api_enabled** (string) - Optional - Filter for Hypixel Skyblock API enabled status. Allowed values: `yes`, `no`, `nomatter`. - **rank_hypixel[]** (array of strings) - Optional - List of ranks on Hypixel. - **level_hypixel_min** (integer) - Optional - Minimum Hypixel level. ### Request Example ```json { "example": "request body" } ``` ### Response #### Success Response (200) - **field1** (type) - Description #### Response Example ```json { "example": "response body" } ``` ``` -------------------------------- ### Authorization Header Example Source: https://lzt-market.readme.io/reference/information Demonstrates the correct format for the Authorization header, which is required for API requests. Ensure you replace '*token*' with your actual API access token. ```http Authorization: Bearer *token* ``` -------------------------------- ### Fields Include Example Source: https://lzt-market.readme.io/reference/information Shows how to use the 'fields_include' parameter to specify which fields to retrieve in the API response. The wildcard '*' can be used to include all default fields before specifying additional ones. ```http fields_include=key.sub_key.deep_key,another_key,* ``` -------------------------------- ### GET /api/v1/users/{user_id} Source: https://lzt-market.readme.io/reference/autopaymentslist Retrieves detailed information about a specific user. ```APIDOC ## GET /api/v1/users/{user_id} ### Description Retrieves detailed information about a specific user, including their ID, username, message count, registration date, likes, trophies, ban status, verification status, and social links. ### Method GET ### Endpoint /api/v1/users/{user_id} ### Parameters #### Path Parameters - **user_id** (integer) - Required - The unique identifier of the user. ### Response #### Success Response (200) - **user_id** (integer) - The unique identifier of the user. - **username** (string) - The username of the user. - **username_html** (string) - The username formatted for HTML display. - **user_message_count** (integer) - The total number of messages sent by the user. - **user_register_date** (string) - The date the user registered. - **user_like_count** (integer) - The total number of likes the user has received. - **user_like2_count** (integer) - An additional count related to user likes. - **contest_count** (integer) - The number of contests the user has participated in. - **trophy_count** (integer) - The number of trophies the user has earned. - **custom_title** (string) - A custom title set by the user or administrators. - **is_banned** (boolean) - Indicates if the user account is banned. - **user_title** (string) - The user's title. - **user_is_valid** (boolean) - Indicates if the user account is valid. - **user_is_verified** (boolean) - Indicates if the user account is verified. - **user_is_followed** (boolean) - Indicates if the current user is following this user. - **user_last_seen_date** (string) - The date and time the user was last seen online. - **user_following_count** (integer) - The number of users this user is following. - **user_followers_count** (integer) - The number of users following this user. - **links** (object) - An object containing various links related to the user. - **permissions** (object) - An object detailing the user's permissions. - **user_is_ignored** (boolean) - Indicates if the current user has ignored this user. - **user_is_visitor** (boolean) - Indicates if the current user is a visitor to this user's profile. - **user_group_id** (integer) - The ID of the user's group. - **fields** (object) - Additional custom fields for the user. #### Response Example ```json { "user_id": 12345, "username": "example_user", "username_html": "example_user", "user_message_count": 150, "user_register_date": "2023-01-15T10:00:00Z", "user_like_count": 500, "user_like2_count": 250, "contest_count": 10, "trophy_count": 5, "custom_title": "Top Contributor", "is_banned": false, "user_title": "Member", "user_is_valid": true, "user_is_verified": true, "user_is_followed": false, "user_last_seen_date": "2024-03-10T15:30:00Z", "user_following_count": 75, "user_followers_count": 120, "links": { "profile": "/users/12345" }, "permissions": { "can_message": true }, "user_is_ignored": false, "user_is_visitor": false, "user_group_id": 1, "fields": {} } ``` ``` -------------------------------- ### GET /gifts Source: https://lzt-market.readme.io/reference/categorygifts Retrieves a list of accounts in a specific category according to your parameters. ```APIDOC ## GET /gifts ### Description Displays a list of accounts in a specific category according to your parameters. ### Method GET ### Endpoint https://prod-api.lzt.market/gifts ### Parameters #### Query Parameters - **page** (integer) - Optional - The number of the page to display results from. Minimum value: 1. - **pmin** (integer) - Optional - Minimal price of account (Inclusive). Minimum value: 1. - **pmax** (integer) - Optional - Maximum price of account (Inclusive). Minimum value: 1. - **title** (string) - Optional - The word or words contained in the account title. - **order_by** (string) - Optional - Order by. Enum: `price_to_up`, `price_to_down`, `pdate_to_down`, `pdate_to_up`, `pdate_to_down_upload`, `pdate_to_up_upload`, `edate_to_up`, `edate_to_down`, `ddate_to_up`, `ddate_to_down`. - **tag_id[]** (array of integers) - Optional - List of tag ids. - **not_tag_id[]** (array of integers) - Optional - List of tag ids that won't be included. - **public_tag_id[]** (array of integers) - Optional - List of public tag ids. - **not_public_tag_id[]** (array of integers) - Optional - List of public tag ids that won't be included. - **origin[]** (array of strings) - Optional - List of account origins. Enum: `brute`, `phishing`, `stealer`, `autoreg`, `personal`, `resale`, `dummy`, `self_registration`, `retrieve_via_support`. - **not_origin[]** (array of strings) - Optional - List of account origins that won't be included. Enum: `brute`, `phishing`, `stealer`, `autoreg`, `personal`, `resale`, `dummy`, `self_registration`, `retrieve_via_support`. - **user_id** (integer) - Optional - Search accounts of user. - **nsb** (boolean) - Optional - Not sold before. `true` or `false`. - **sb** (boolean) - Optional - Sold before. `true` or `false`. - **nsb_by_me** (boolean) - Optional - Not sold by me before. `true` or `false`. - **sb_by_me** (boolean) - Optional - Sold by me before. `true` or `false`. - **currency** (string) - Optional - Currency in which the cost of the account will be searched. Enum: `rub`, `uah`, `hkz`, `tzn`, `usd`, `eur`, `gbp`, `cny`, `try`, `jpy`, `brl`. - **email_login_data** (boolean) - Optional - Has email login data. `true` or `false`. - **email_provider[]** (array of strings) - Optional - Email provider. Enum: `other`, `rambler`, `outlook`, `firstmail`, `notletters`, `mail_ru`. - **not_email_provider[]** (array of strings) - Optional - Email provider. Enum: `other`, `rambler`, `outlook`, `firstmail`, `notletters`, `mail_ru`. - **parse_same_item_ids** (boolean) - Optional - Parse same item ids. `true` or `false`. - **subscription** (string) - Optional - Name of subscription. Enum: `discord_nitro`, `discord_nitro_basic`, `discord_nitro_trial`, `telegram_premium`. - **subscription_length** (integer) - Optional - Length of subscription. Minimum value: 0. - **subscription_period** (string) - Optional - In what notation is time measured. Enum: `day`, `month`, `year`. ### Responses #### Success Response (200) Successful Response. #### Error Response (401) Unauthorized ### Request Example ```json { "example": "request body" } ``` ### Response Example ```json { "example": "response body" } ``` ``` -------------------------------- ### GET /auto-payments Source: https://lzt-market.readme.io/reference/autopaymentslist Retrieves a list of auto payments. Requires the 'payment' scope. ```APIDOC ## GET /auto-payments ### Description Retrieves a list of auto payments. Requires the 'payment' scope. ### Method GET ### Endpoint /auto-payments ### Parameters #### Query Parameters - **oauth_token** (string) - Required - Your API access token. ### Request Example ```bash curl -X GET \ 'https://api.lzt.market/auto-payments?oauth_token=YOUR_ACCESS_TOKEN' ``` ### Response #### Success Response (200) - **payments** (object) - An object containing auto payment details. - **user_id** (integer) - The ID of the user. - **receiver_id** (integer) - The ID of the receiver. - **amount** (string) - The payment amount. - **description** (string) - The payment description. - **next_payment** (integer) - Timestamp for the next payment. - **next_alert_date** (integer) - Timestamp for the next alert. - **auto_payment_id** (integer) - The ID of the auto payment. - **day** (string) - The day of the payment. - **receiver** (object) - Details about the receiver. - **system_info** (object) - System information related to the response. #### Response Example ```json { "payments": { "1234567890": { "user_id": 1234567890, "receiver_id": 9876543210, "amount": "100.00", "description": "Monthly subscription fee", "next_payment": 1678886400, "next_alert_date": 1678799999, "auto_payment_id": 54321, "day": "15", "receiver": { "user_id": 9876543210, "name": "ExampleUser" } } }, "system_info": { "time": 1678800000, "api_version": "1.1.87" } } ``` ``` -------------------------------- ### GET /api/items Source: https://lzt-market.readme.io/reference/cartget Retrieves a list of items with various filtering and sorting options. ```APIDOC ## GET /api/items ### Description Retrieves a list of items based on specified criteria. ### Method GET ### Endpoint /api/items ### Parameters #### Query Parameters - **page** (integer) - Optional - The number of the page to display results from. - **pmin** (integer) - Optional - Minimal price of account (Inclusive). - **pmax** (integer) - Optional - Maximum price of account (Inclusive). - **title** (string) - Optional - The word or words contained in the account title. - **order_by** (string) - Optional - Specifies the order of the results. Possible values include: - `price_to_up`: Cheap first. - `price_to_down`: Expensive first. - `pdate_to_down`: Newest. - `pdate_to_up`: Oldest. - `pdate_to_down_upload`: Newest uploaded. - `pdate_to_up_upload`: Oldest uploaded. - `edate_to_up`: Newest edited. - `edate_to_down`: Oldest edited. - `ddate_to_up`: Newest deleted. - `ddate_to_down`: Oldest deleted. - **tag_id[]** (integer) - Optional - List of tag ids to include. Tag list is available via **GET /me**. - **not_tag_id[]** (integer) - Optional - List of tag ids that won't be included. Tag list is available via **GET /me**. ### Response #### Success Response (200) - **ItemListResponse** (object) - Successful Response. #### Response Example ```json { "example": "ItemListResponse" } ``` #### Error Response (401) - **Unauthorized** (object) - Indicates an authentication issue. #### Error Response Example ```json { "errors": [ "Invalid or expired access token." ] } ``` ```