---
title: "Credits and payments"
description: "What a call costs in credits, the packs you can buy, refunds on failure, and keyless pay-per-call for agents."
canonical_url: https://groundsocial.dev/docs/payments
---
# Credits and payments

> What a call costs in credits, the packs you can buy, refunds on failure, and keyless pay-per-call for agents.

> ## Agent Instructions
> The Groundsocial REST API is at https://api.groundsocial.dev (OpenAPI: https://groundsocial.dev/openapi.json). Set yourself up with https://groundsocial.dev/SKILL.md; the MCP server is https://api.groundsocial.dev/mcp. Every docs page is Markdown at its URL plus `.md`; the index is https://groundsocial.dev/llms.txt.

**Accounts pay in credits from a prepaid balance.** Every endpoint has a fixed credit price. New accounts get 100 free credits, no card.

## What each call costs

| Endpoint | Credits | Keyless (USD) |
| --- | --- | --- |
| `reddit.subreddit.get` | 1 | $0.010000 |
| `reddit.subreddit.posts` | 1 | $0.010000 |
| `reddit.post.get` | 1 | $0.010000 |
| `reddit.post.comments` | 1 | $0.010000 |
| `reddit.user.get` | 1 | $0.010000 |
| `reddit.user.posts` | 1 | $0.010000 |
| `reddit.user.comments` | 1 | $0.010000 |
| `reddit.search.posts` | 2 | $0.020000 |
| `reddit.search.subreddits` | 1 | $0.010000 |

- **Failed calls are refunded** in the same request: not found, private, Reddit unavailable or timed out. You can see it in `x-credits-charged: 0`.
- Invalid input is rejected before anything is charged.
- Every response carries `x-credits-charged` and `x-credits-remaining`.
- Account calls (keys, usage, balance, signup) are free.

## Credit packs

| Pack | Credits | Price | Per 1,000 credits |
| --- | --- | --- | --- |
| Starter | 10,000 | $10 | $1.00 |
| Builder | 60,000 | $49 | $0.82 |
| Scale | 350,000 | $199 | $0.57 |
| Volume | 2,000,000 | $799 | $0.40 |

**Credits never expire.** Buy packs in [the dashboard](https://groundsocial.dev/app/billing); payment goes through Stripe Checkout and the credits land when Stripe confirms. Bigger packs cost less per credit.

## Keyless pay-per-call

An agent with no account can pay for each call itself. Any paid route called without a key answers `402` with two offers for that call’s price: MPP (`WWW-Authenticate: Payment …`) and x402. Keyless calls cost $0.010 per credit, more than any pack, because there is no account to bill.

1. **Call without a key.** Get `402 payment_required` with the price and both offers.
2. **Pay.** Sign the payment with your MPP or x402 wallet and send the same request with the credential.
3. **Get the data.** We verify the payment, fetch, and capture it only after a successful fetch. A failed fetch is never charged.

## Top-up from an agent

An agent with a key can refill its own account: `POST https://api.groundsocial.dev/v1/credits/topup`, paid over MPP or x402, adds credits to the key’s account. A person can limit how much an agent may spend this way.

> **Rolling out.** The payments release adds keyless pay-per-call and top-up; until then a call without a key answers 401 with signup instructions.

The SDK can pay for you: pass a `paymentHandler` to `createClient` (see [TypeScript SDK](https://groundsocial.dev/docs/sdk)). Groundsocial never pays, claims or upgrades on a person’s behalf without their say.

_Canonical HTML: https://groundsocial.dev/docs/payments_

## Site Navigation

### Global Hub
- [Home](https://groundsocial.dev/index.md)
- [Pricing](https://groundsocial.dev/pricing.md)
- [Endpoints](https://groundsocial.dev/endpoints.md)
- [For agents](https://groundsocial.dev/agents.md)
- [Docs](https://groundsocial.dev/docs.md)
- [Compare](https://groundsocial.dev/compare.md)
- [Changelog](https://groundsocial.dev/changelog.md)
- [llms.txt](https://groundsocial.dev/llms.txt)
- [Agent skill](https://groundsocial.dev/SKILL.md)

### On This Topic
- [Groundsocial docs](https://groundsocial.dev/docs.md)
- [Quickstart](https://groundsocial.dev/docs/quickstart.md)
- [Authentication](https://groundsocial.dev/docs/authentication.md)
- [Rate limits](https://groundsocial.dev/docs/rate-limits.md)
- [Errors](https://groundsocial.dev/docs/errors.md)
- [Data freshness and caching](https://groundsocial.dev/docs/freshness.md)
- [MCP server](https://groundsocial.dev/docs/mcp.md)
- [SKILL.md, llms.txt and Markdown twins](https://groundsocial.dev/docs/skill.md)
- [CLI](https://groundsocial.dev/docs/cli.md)
- [TypeScript SDK](https://groundsocial.dev/docs/sdk.md)
- [PRAW and snoowrap](https://groundsocial.dev/docs/praw.md)
- [Legal and compliance](https://groundsocial.dev/docs/compliance.md)
- [API reference](https://groundsocial.dev/docs/api.md)

## Structured data

```json
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://groundsocial.dev/"},{"@type":"ListItem","position":2,"name":"Docs","item":"https://groundsocial.dev/docs"},{"@type":"ListItem","position":3,"name":"Credits and payments","item":"https://groundsocial.dev/docs/payments"}]}
```
