Developers

Guest Posting API reference

Search publisher sites, read live prices, place guest post orders and track them from your own code. JSON over HTTPS, authenticated with a personal API key.

Getting access

The API is included in the Business plan (and any other plan that lists API access). Access is checked on every request, so if your subscription lapses calls return 403 plan_required until you renew. Your keys are kept.

  1. 1

    Subscribe to Business at /subscription

  2. 2

    Create a key at /api-keys

    Keys start with gpm_.

  3. 3

    Copy the key and store it as a secret

    Send it with every request from your server.

  • The full key is shown once, when you create it. We store only a hash, so a lost key cannot be recovered; create a new one instead.
  • You can have up to 5 active keys, for example one per integration or environment.
  • Revoke a key at any time from /api-keys. Requests with a revoked key fail with 401 unauthorized.

Authentication

All endpoints live under https://gpmarketplace.com/api/v1 and accept and return JSON. Send your key in the Authorization header as a Bearer token, or in the X-API-Key header.

Authorization header
curl "https://gpmarketplace.com/api/v1/me" \
  -H "Authorization: Bearer $GPM_API_KEY"
X-API-Key header
curl "https://gpmarketplace.com/api/v1/me" \
  -H "X-API-Key: $GPM_API_KEY"

Keep keys on your server. Never put them in browser code, mobile apps or public repositories: a key can spend your wallet balance.

Errors

Failed requests return a non-2xx status and an error object. code is stable and safe to branch on; message is human readable; details is optional.

Error body
{
  "error": {
    "code": "plan_required",
    "message": "Your plan does not include API access."
  }
}
HTTPCodeWhen
400invalid_requestMalformed JSON or an invalid query parameter.
401unauthorizedThe API key is missing, unknown or revoked.
402insufficient_balanceWallet payment requested without enough funds.
403plan_requiredYour account plan does not include API access.
403account_disabledYour account has been deactivated.
404not_foundThe site or order does not exist, or the order is not yours.
409conflictThe order cannot be paid (for example, it is already paid).
422validation_errorThe order body was rejected; the message explains why.
429rate_limitedMore than 60 requests per minute. Honour the Retry-After header.
500internal_errorAn unexpected error on our side.

Rate limits

Each key can make 60 requests per minute. Every response carries the current limit, the requests left in the window and when the window resets (unix seconds). Over the limit you get 429 rate_limited with a Retry-After header; wait that many seconds before retrying.

Response headers
X-RateLimit-Limit: 60
X-RateLimit-Remaining: 57
X-RateLimit-Reset: 1794994320

Get your account

GET/api/v1/me

Returns the account that owns the key, its plan and the wallet balance available for orders.

Request
curl "https://gpmarketplace.com/api/v1/me" \
  -H "Authorization: Bearer $GPM_API_KEY"
Response · 200 OK
{
  "data": {
    "id": "cm1x0a9p20000mk08b3c5d7ef",
    "name": "Jane Doe",
    "email": "[email protected]",
    "plan": {
      "name": "Business",
      "currentPeriodEnd": "2026-12-18T00:00:00.000Z"
    },
    "wallet": {
      "balanceUsd": 1250
    }
  }
}

Search sites

GET/api/v1/sites

Lists marketplace sites with the same filters as the directory. Prices include the platform fee.

Query parameters

FieldTypeDescription
searchstringSearch term, for example part of a domain.
nichescsvNiche names, comma separated.
countriescsvISO 3166-1 alpha-2 country codes, e.g. US,GB.
languagescsvLanguages, comma separated.
tldscsvTop-level domains, e.g. .com,.io.
serviceTypecsvGUEST_POST, LINK_INSERTION, PRESS_RELEASE, UGC, PREMIUM_UGC.
linkTypeenumDOFOLLOW or NOFOLLOW.
drMin / drMaxnumberDomain Rating range.
trafficMin / trafficMaxnumberMonthly organic traffic range.
priceMin / priceMaxnumberPrice range in USD.
spamScoreMaxnumberMaximum spam score.
tatnumberMaximum turnaround time in days (sites delivering within N days).
verifiedtrueOnly verified sites.
exclusivetrueOnly exclusive sites.
indexedtrueOnly sites indexed by search engines.
writingIncludedtrueOnly sites where the publisher writes the guest post at no extra cost.
acceptedContentenumCRYPTO, GAMBLING, ADULT or CBD: only sites that accept it.
sortBystringpopularity (default), or <field>_asc / <field>_desc where field is dr, da, traffic, ahrefs_traffic, keywords, spam, tat, price, dr_value, traffic_value, completion or added.
pageintegerPage number, starting at 1 (default 1).
perPageinteger10, 20, 50 or 100 (default 50).
  • prices only contains the services the site offers.
Request
curl "https://gpmarketplace.com/api/v1/sites?niches=Technology&drMin=40&serviceType=GUEST_POST&perPage=20" \
  -H "Authorization: Bearer $GPM_API_KEY"
Response · 200 OK
{
  "data": [
    {
      "id": "cm3k8w2xq0001l708h4f2a9vd",
      "domain": "techgrowthdaily.com",
      "url": "https://techgrowthdaily.com",
      "slug": "techgrowthdaily-com",
      "niche": "Technology",
      "secondaryNiches": [
        "Business",
        "Marketing"
      ],
      "country": "US",
      "language": "English",
      "tld": ".com",
      "metrics": {
        "dr": 58,
        "da": 52,
        "traffic": 42000,
        "ahrefsTraffic": 31500,
        "organicKeywords": 12800,
        "spamScore": 2
      },
      "linkType": "DOFOLLOW",
      "maxLinks": 2,
      "liMaxLinks": 1,
      "tatDays": 5,
      "isIndexed": true,
      "verified": true,
      "exclusive": false,
      "accepts": {
        "crypto": true,
        "gambling": false,
        "adult": false,
        "cbd": false
      },
      "nichePremiumPct": {
        "crypto": 20,
        "gambling": 0,
        "adult": 0,
        "cbd": 0
      },
      "prices": {
        "GUEST_POST": {
          "publisherPrice": 180,
          "platformFee": 27,
          "price": 207
        },
        "LINK_INSERTION": {
          "publisherPrice": 120,
          "platformFee": 18,
          "price": 138
        }
      },
      "minWordCount": 800,
      "maxWordCount": 2000,
      "metricsUpdatedAt": "2026-11-02T08:14:00.000Z"
    }
  ],
  "pagination": {
    "page": 1,
    "perPage": 50,
    "total": 1873,
    "totalPages": 38
  }
}

Get a site

GET/api/v1/sites/{idOrDomain}

Returns one site by id or domain. The detail view also includes the publisher guidelines.

Request
curl "https://gpmarketplace.com/api/v1/sites/techgrowthdaily.com" \
  -H "Authorization: Bearer $GPM_API_KEY"
Response · 200 OK
{
  "data": {
    "id": "cm3k8w2xq0001l708h4f2a9vd",
    "domain": "techgrowthdaily.com",
    "url": "https://techgrowthdaily.com",
    "slug": "techgrowthdaily-com",
    "niche": "Technology",
    "secondaryNiches": [
      "Business",
      "Marketing"
    ],
    "country": "US",
    "language": "English",
    "tld": ".com",
    "metrics": {
      "dr": 58,
      "da": 52,
      "traffic": 42000,
      "ahrefsTraffic": 31500,
      "organicKeywords": 12800,
      "spamScore": 2
    },
    "linkType": "DOFOLLOW",
    "maxLinks": 2,
    "liMaxLinks": 1,
    "tatDays": 5,
    "isIndexed": true,
    "verified": true,
    "exclusive": false,
    "accepts": {
      "crypto": true,
      "gambling": false,
      "adult": false,
      "cbd": false
    },
    "nichePremiumPct": {
      "crypto": 20,
      "gambling": 0,
      "adult": 0,
      "cbd": 0
    },
    "prices": {
      "GUEST_POST": {
        "publisherPrice": 180,
        "platformFee": 27,
        "price": 207
      },
      "LINK_INSERTION": {
        "publisherPrice": 120,
        "platformFee": 18,
        "price": 138
      }
    },
    "minWordCount": 800,
    "maxWordCount": 2000,
    "metricsUpdatedAt": "2026-11-02T08:14:00.000Z",
    "guidelines": "Original content only. One dofollow link per post. No casino links."
  }
}

Create an order

POST/api/v1/orders

Places an order on a site. It starts as PENDING_PAYMENT unless payWithWallet succeeds, in which case it is returned paid.

Request body (JSON)

FieldTypeDescription
siteIdrequiredstringSite id from GET /sites.
serviceTyperequiredenumA service the site offers (a key of its prices object).
contentTyperequiredenumGOOGLE_DOCS (send contentLink) or PASTE (send contentText).
linksrequiredarrayTarget links: [{ url, anchor? }].
contentLinkstringGoogle Docs link to your article.
contentTextstringArticle text when contentType is PASTE.
contentNichestringContent niche, e.g. a restricted niche the site accepts.
needsHumanWriterbooleanAsk for the article to be written for you.
articleTitlestringTitle of the article.
existingArticleUrlstringExisting post URL for a link insertion.
specialInstructionsstringNotes for the publisher.
mediaContactobjectMedia contact details for press releases.
payWithWalletbooleanPay from your wallet balance right after creating the order.
  • Returns 201 Created with the order.
  • If the order is created but the wallet payment fails, you still get 201 with the order in PENDING_PAYMENT plus payment: { error }. Top up and call the pay endpoint.
Request
curl -X POST "https://gpmarketplace.com/api/v1/orders" \
  -H "Authorization: Bearer $GPM_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"siteId":"cm3k8w2xq0001l708h4f2a9vd","serviceType":"GUEST_POST","contentType":"GOOGLE_DOCS","contentLink":"https://docs.google.com/document/d/your-doc-id","links":[{"url":"https://example.com/pricing","anchor":"link building tool"}],"articleTitle":"How small teams automate link building","payWithWallet":true}'
Response · 201 Created
{
  "data": {
    "id": "cm3m1c7vb0004jx08qk3z6t1e",
    "orderNumber": "MP-20261118-K7Q2XA",
    "status": "IN_PROGRESS",
    "paymentStatus": "CONFIRMED",
    "serviceType": "GUEST_POST",
    "site": {
      "id": "cm3k8w2xq0001l708h4f2a9vd",
      "domain": "techgrowthdaily.com"
    },
    "articleTitle": "How small teams automate link building",
    "links": [
      {
        "url": "https://example.com/pricing",
        "anchor": "link building tool"
      }
    ],
    "pricing": {
      "publisherFee": 180,
      "platformFee": 27,
      "writingServiceFee": 0,
      "discount": 0,
      "credit": 0,
      "total": 207
    },
    "submissionLink": null,
    "deadline": "2026-11-23T09:31:00.000Z",
    "createdAt": "2026-11-18T09:30:00.000Z",
    "updatedAt": "2026-11-18T09:31:00.000Z"
  }
}

List your orders

GET/api/v1/orders

Lists your orders with optional status and service filters.

Query parameters

FieldTypeDescription
statusenumFilter by order status, e.g. PENDING_PAYMENT or PUBLISHED.
serviceTypeenumFilter by service type.
pageintegerPage number, starting at 1 (default 1).
perPageintegerResults per page, up to 100 (default 20).
Request
curl "https://gpmarketplace.com/api/v1/orders?status=PENDING_PAYMENT" \
  -H "Authorization: Bearer $GPM_API_KEY"
Response · 200 OK
{
  "data": [
    {
      "id": "cm3m1c7vb0004jx08qk3z6t1e",
      "orderNumber": "MP-20261118-K7Q2XA",
      "status": "PENDING_PAYMENT",
      "paymentStatus": "PENDING",
      "serviceType": "GUEST_POST",
      "site": {
        "id": "cm3k8w2xq0001l708h4f2a9vd",
        "domain": "techgrowthdaily.com"
      },
      "articleTitle": "How small teams automate link building",
      "links": [
        {
          "url": "https://example.com/pricing",
          "anchor": "link building tool"
        }
      ],
      "pricing": {
        "publisherFee": 180,
        "platformFee": 27,
        "writingServiceFee": 0,
        "discount": 0,
        "credit": 0,
        "total": 207
      },
      "submissionLink": null,
      "deadline": null,
      "createdAt": "2026-11-18T09:30:00.000Z",
      "updatedAt": "2026-11-18T09:30:00.000Z"
    }
  ],
  "pagination": {
    "page": 1,
    "perPage": 20,
    "total": 1,
    "totalPages": 1
  }
}

Get an order

GET/api/v1/orders/{idOrOrderNumber}

Returns one of your orders by id or order number, including its status timeline.

Request
curl "https://gpmarketplace.com/api/v1/orders/MP-20261118-K7Q2XA" \
  -H "Authorization: Bearer $GPM_API_KEY"
Response · 200 OK
{
  "data": {
    "id": "cm3m1c7vb0004jx08qk3z6t1e",
    "orderNumber": "MP-20261118-K7Q2XA",
    "status": "IN_PROGRESS",
    "paymentStatus": "CONFIRMED",
    "serviceType": "GUEST_POST",
    "site": {
      "id": "cm3k8w2xq0001l708h4f2a9vd",
      "domain": "techgrowthdaily.com"
    },
    "articleTitle": "How small teams automate link building",
    "links": [
      {
        "url": "https://example.com/pricing",
        "anchor": "link building tool"
      }
    ],
    "pricing": {
      "publisherFee": 180,
      "platformFee": 27,
      "writingServiceFee": 0,
      "discount": 0,
      "credit": 0,
      "total": 207
    },
    "submissionLink": null,
    "deadline": "2026-11-23T09:31:00.000Z",
    "createdAt": "2026-11-18T09:30:00.000Z",
    "updatedAt": "2026-11-18T09:31:00.000Z",
    "timeline": [
      {
        "status": "PENDING_PAYMENT",
        "note": "Order created",
        "createdAt": "2026-11-18T09:30:00.000Z"
      },
      {
        "status": "IN_PROGRESS",
        "note": "Paid from wallet",
        "createdAt": "2026-11-18T09:31:00.000Z"
      }
    ]
  }
}

Pay an order from your wallet

POST/api/v1/orders/{idOrOrderNumber}/pay

Pays a PENDING_PAYMENT order from your wallet balance.

  • 402 insufficient_balance when the wallet cannot cover the total; 409 conflict when the order is not payable.
Request
curl -X POST "https://gpmarketplace.com/api/v1/orders/MP-20261118-K7Q2XA/pay" \
  -H "Authorization: Bearer $GPM_API_KEY"
Response · 200 OK
{
  "data": {
    "id": "cm3m1c7vb0004jx08qk3z6t1e",
    "orderNumber": "MP-20261118-K7Q2XA",
    "status": "IN_PROGRESS",
    "paymentStatus": "CONFIRMED",
    "serviceType": "GUEST_POST",
    "site": {
      "id": "cm3k8w2xq0001l708h4f2a9vd",
      "domain": "techgrowthdaily.com"
    },
    "articleTitle": "How small teams automate link building",
    "links": [
      {
        "url": "https://example.com/pricing",
        "anchor": "link building tool"
      }
    ],
    "pricing": {
      "publisherFee": 180,
      "platformFee": 27,
      "writingServiceFee": 0,
      "discount": 0,
      "credit": 0,
      "total": 207
    },
    "submissionLink": null,
    "deadline": "2026-11-23T09:31:00.000Z",
    "createdAt": "2026-11-18T09:30:00.000Z",
    "updatedAt": "2026-11-18T09:31:00.000Z"
  }
}