API Documentation


BASEURL:       
https://api.makejiema.com


Create Order:

GET Request: /api/order/create_order

Request:
Parameter Type Required Remark
pid int Yes Country/Product PID
secretKey str Yes API Key
buynum int Yes Quantity must be at least the minimum required for the selected product (typically 1; some email products require at least 10).

Response:
Parameter Type Remark
msg str Message
order_id str Order ID
code int Code: create 1 ok / 0 fail; query 1 has content / 2 pending empty retry later / 0 fail or not found

Successful response has no data field; save order_id and call query_order for the content list.

Success Example:

{
  "code": 1,
  "msg": "创建成功,已扣费",
  "order_id": "f7f145f39f9d4f67a4f2cfdf1fd8e721"
}

Error Example:

{
  "code": 0,
  "msg": "创建失败",
  "order_id": null
}

Query Order:

GET Request: /api/order/query_order

Request:
Parameter Type Required Remark
order_id str Yes Order ID

Response:
Parameter Type Remark
data json(list) Fixed list format, each item is one order content row
msg str Message
order_id str Order ID
code int Code: create 1 ok / 0 fail; query 1 has content / 2 pending empty retry later / 0 fail or not found
data item fields:
Parameter Type Remark
type int Content type: 1=text content, 2=content with getdata link
content str Original row text, e.g. account----password----recover OR account----/api/order/getdata?cid=...

Success Example:

{
  "code": 1,
  "msg": "查询成功",
  "order_id": "f7f145f39f9d4f67a4f2cfdf1fd8e721",
  "data": [
    {
      "type": 1,
      "content": "example@gmail.com----abc123----recover@example.com"
    },
    {
      "type": 2,
      "content": "ouadhpxxxxx@gmail.com----/api/order/getdata?cid=806779395c1640c882e65aaf1aba21d9"
    }
  ]
}

Error Example:

{
  "code": 0,
  "msg": "订单不存在",
  "order_id": "not-exists-order-id"
}

Get Data:

GET Request: /api/order/getdata

Usage: call /query_order first. When a data item has type=2 and content includes /api/order/getdata?cid=..., extract that path and build final URL as BASEURL + path.

Response: plain text only.

Request:
Parameter Type Required Remark
cid str Yes Extract cid from /api/order/getdata?cid=...

Success Example:

123456

Error Example:

not found

Frequently Asked Questions (FAQ)

Q1: What is the data structure of query_order?

data is a list. Each item includes type and content. type=1 means text content, type=2 means content contains a getdata link.

Q2: How do I access getdata content?

When type=2, extract /api/order/getdata?cid=... from content, then build final URL as BASEURL + path.

Q3: What format does getdata return?

getdata returns plain text without a JSON wrapper.


SEO Language URLs: Home EN | Home ZH | Home RU | API EN | API ZH | API RU
SEO Page URLs: Home | API | Privacy | Terms | Contact | Sitemap