Docs / Platforms / Mastodon27 operations / 23 live / 4 mapped

Mastodon

Mastodon is exposed through 23 live operations covering public profiles and creator metadata, posts, videos and catalog records, comments and reviews, search and discovery. The full reference is below; mapped routes are explicitly disabled and never charge credits.
Overview & use cases

What Mastodon data is for.

Live Mastodon capabilities, credit floor, and typical lookup workflows.

Use Mastodon when you need public profiles and creator metadata, posts, videos and catalog records, comments and reviews, search and discovery without maintaining a separate adapter for each route. Start with the lowest-cost live operation, then add search or list endpoints only when the response shape fits your product.

Live

23

Paid only

0

Price floor

1 cr

Use cases

  • Mastodon account

    Call /v1/mastodon/account when you need a normalized mastodon account response with the same credit and cache rules as the rest of the catalog.

  • Mastodon statuses

    Call /v1/mastodon/statuses when you need a normalized mastodon statuses response with the same credit and cache rules as the rest of the catalog.

  • Mastodon hashtag

    Call /v1/mastodon/tag when you need a normalized mastodon hashtag response with the same credit and cache rules as the rest of the catalog.

Contract / auth

Auth & error contract.

The platform follows the same gateway and billing rules as the rest of CleanFetch.

Auth

Send x-api-key: cf_live_... or Authorization: Bearer cf_live_.... A missing or invalid key returns 401.

Billing

Successful lookups charge the listed credits. Cache hits, 5xx responses and mapped 503 routes cost 0 credits.

Limits

429 includes Retry-After and costs nothing. Paid-only routes return 403 plan_required before any provider call.

Mapped routes

4 routes are cataloged but not connected. They return 503 upstream_not_configured and never charge.

Reference / 27

Operations

Live routes are expanded first with parameters, request example and response fields. Mapped routes are compact placeholders.

Live / 23

ready
GET

Mastodon account

/v1/mastodon/account
1 credits5/day free1h cache
NameTypeRequiredDescription
instancestringyesMastodon instance hostname, for example mastodon.social.
usernamestringyesPublic handle without the @ prefix.
Request
curl -s "https://api.cleanfetch.dev/v1/mastodon/account?instance=mastodon.social&username=nasa" \
  -H "x-api-key: $CLEANFETCH_API_KEY"
Response
{
  "data": {
    "platform": "mastodon",
    "id": "123456",
    "username": "nasa",
    "name": "NASA",
    "url": "https://example.com/nasa",
    "followers": 12500000,
    "description": "Public profile record normalized by CleanFetch."
  },
  "meta": {
    "lookupStatus": "found",
    "creditsCharged": 1,
    "cached": false
  }
}

Returns

platformidusernamenameurlfollowersdescription

Input notes

  • • Free accounts can call this endpoint up to 5 times per day.
  • • Responses are cached for 1h.
  • • A public record that does not exist returns not_found and is charged once.
GET

Mastodon statuses

/v1/mastodon/statuses
2 credits3/day free6h cache
NameTypeRequiredDescription
instancestringyesMastodon instance hostname, for example mastodon.social.
usernamestringyesPublic handle without the @ prefix.
limitstringnoMaximum records to return, from 1 to 20.
Request
curl -s "https://api.cleanfetch.dev/v1/mastodon/statuses?instance=mastodon.social&username=nasa" \
  -H "x-api-key: $CLEANFETCH_API_KEY"
Response
{
  "data": {
    "platform": "mastodon",
    "count": 1,
    "items": [
      {
        "id": "123456",
        "url": "https://example.com/item/123456",
        "text": "Example public post returned by this endpoint.",
        "createdAt": "2026-11-30T00:00:00.000Z",
        "author": {
          "username": "nasa",
          "name": "NASA"
        }
      }
    ]
  },
  "meta": {
    "lookupStatus": "found",
    "creditsCharged": 2,
    "cached": false
  }
}

Returns

platformcountitems[].iditems[].urlitems[].textitems[].createdAt

Input notes

  • • Free accounts can call this endpoint up to 3 times per day.
  • • Responses are cached for 6h.
  • • A public record that does not exist returns not_found and is charged once.
GET

Mastodon hashtag

/v1/mastodon/tag
2 credits3/day free6h cache
NameTypeRequiredDescription
instancestringyesMastodon instance hostname, for example mastodon.social.
hashtagstringyesHashtag without the # prefix.
limitstringnoMaximum records to return, from 1 to 20.
Request
curl -s "https://api.cleanfetch.dev/v1/mastodon/tag?instance=mastodon.social&hashtag=nike" \
  -H "x-api-key: $CLEANFETCH_API_KEY"
Response
{
  "data": {
    "platform": "mastodon",
    "count": 1,
    "items": [
      {
        "id": "123456",
        "url": "https://example.com/item/123456",
        "text": "Example public post returned by this endpoint.",
        "createdAt": "2026-11-30T00:00:00.000Z",
        "author": {
          "username": "nasa",
          "name": "NASA"
        }
      }
    ]
  },
  "meta": {
    "lookupStatus": "found",
    "creditsCharged": 2,
    "cached": false
  }
}

Returns

platformcountitems[].iditems[].urlitems[].textitems[].createdAt

Input notes

  • • Free accounts can call this endpoint up to 3 times per day.
  • • Responses are cached for 6h.
  • • A public record that does not exist returns not_found and is charged once.
GET

List Mastodon server profile directory

/v1/mastodon/directory
1 credits3/day free6h cache
NameTypeRequiredDescription
hoststringyesLookup parameter.
orderstringnoLookup parameter.
scopestringnoLookup parameter.
cursorstringnoLookup parameter.
offsetstringnoLookup parameter.
limitstringnoMaximum records to return, from 1 to 20.
Request
curl -s "https://api.cleanfetch.dev/v1/mastodon/directory?host=example" \
  -H "x-api-key: $CLEANFETCH_API_KEY"
Response
{
  "data": {
    "platform": "mastodon",
    "count": 1,
    "items": [
      {
        "id": "123456",
        "url": "https://example.com/item/123456",
        "text": "Example public post returned by this endpoint.",
        "createdAt": "2026-11-30T00:00:00.000Z",
        "author": {
          "username": "nasa",
          "name": "NASA"
        }
      }
    ]
  },
  "meta": {
    "lookupStatus": "found",
    "creditsCharged": 1,
    "cached": false
  }
}

Returns

platformcountitems[].iditems[].urlitems[].textitems[].createdAt

Input notes

  • • Free accounts can call this endpoint up to 3 times per day.
  • • Responses are cached for 6h.
  • • A public record that does not exist returns not_found and is charged once.
GET

Get Mastodon hashtag

/v1/mastodon/hashtags/{tag}
1 credits3/day free6h cache
NameTypeRequiredDescription
tagstringyesLookup parameter.
hoststringyesLookup parameter.
Request
curl -s "https://api.cleanfetch.dev/v1/mastodon/hashtags/{tag}?host=example" \
  -H "x-api-key: $CLEANFETCH_API_KEY"
Response
{
  "data": {
    "platform": "mastodon",
    "count": 1,
    "items": [
      {
        "id": "123456",
        "url": "https://example.com/item/123456",
        "text": "Example public post returned by this endpoint.",
        "createdAt": "2026-11-30T00:00:00.000Z",
        "author": {
          "username": "nasa",
          "name": "NASA"
        }
      }
    ]
  },
  "meta": {
    "lookupStatus": "found",
    "creditsCharged": 1,
    "cached": false
  }
}

Returns

platformcountitems[].iditems[].urlitems[].textitems[].createdAt

Input notes

  • • Free accounts can call this endpoint up to 3 times per day.
  • • Responses are cached for 6h.
  • • A public record that does not exist returns not_found and is charged once.
GET

Get Mastodon post

/v1/mastodon/posts
1 credits3/day free6h cache
NameTypeRequiredDescription
urlstringyesPublic page, post, profile or video URL.
Request
curl -s "https://api.cleanfetch.dev/v1/mastodon/posts?url=https%3A%2F%2Fcleanfetch.dev" \
  -H "x-api-key: $CLEANFETCH_API_KEY"
Response
{
  "data": {
    "platform": "mastodon",
    "count": 1,
    "items": [
      {
        "id": "123456",
        "url": "https://example.com/item/123456",
        "text": "Example public post returned by this endpoint.",
        "createdAt": "2026-11-30T00:00:00.000Z",
        "author": {
          "username": "nasa",
          "name": "NASA"
        }
      }
    ]
  },
  "meta": {
    "lookupStatus": "found",
    "creditsCharged": 1,
    "cached": false
  }
}

Returns

platformcountitems[].iditems[].urlitems[].textitems[].createdAt

Input notes

  • • Free accounts can call this endpoint up to 3 times per day.
  • • Responses are cached for 6h.
  • • A public record that does not exist returns not_found and is charged once.
GET

Get Mastodon post reply tree

/v1/mastodon/posts/context
1 credits3/day free6h cache
NameTypeRequiredDescription
urlstringyesPublic page, post, profile or video URL.
Request
curl -s "https://api.cleanfetch.dev/v1/mastodon/posts/context?url=https%3A%2F%2Fcleanfetch.dev" \
  -H "x-api-key: $CLEANFETCH_API_KEY"
Response
{
  "data": {
    "platform": "mastodon",
    "count": 1,
    "items": [
      {
        "id": "123456",
        "url": "https://example.com/item/123456",
        "text": "Example public post returned by this endpoint.",
        "createdAt": "2026-11-30T00:00:00.000Z",
        "author": {
          "username": "nasa",
          "name": "NASA"
        }
      }
    ]
  },
  "meta": {
    "lookupStatus": "found",
    "creditsCharged": 1,
    "cached": false
  }
}

Returns

platformcountitems[].iditems[].urlitems[].textitems[].createdAt

Input notes

  • • Free accounts can call this endpoint up to 3 times per day.
  • • Responses are cached for 6h.
  • • A public record that does not exist returns not_found and is charged once.
GET

List Mastodon post edit history

/v1/mastodon/posts/edits
1 credits3/day free6h cache
NameTypeRequiredDescription
urlstringyesPublic page, post, profile or video URL.
Request
curl -s "https://api.cleanfetch.dev/v1/mastodon/posts/edits?url=https%3A%2F%2Fcleanfetch.dev" \
  -H "x-api-key: $CLEANFETCH_API_KEY"
Response
{
  "data": {
    "platform": "mastodon",
    "count": 1,
    "items": [
      {
        "id": "123456",
        "url": "https://example.com/item/123456",
        "text": "Example public post returned by this endpoint.",
        "createdAt": "2026-11-30T00:00:00.000Z",
        "author": {
          "username": "nasa",
          "name": "NASA"
        }
      }
    ]
  },
  "meta": {
    "lookupStatus": "found",
    "creditsCharged": 1,
    "cached": false
  }
}

Returns

platformcountitems[].iditems[].urlitems[].textitems[].createdAt

Input notes

  • • Free accounts can call this endpoint up to 3 times per day.
  • • Responses are cached for 6h.
  • • A public record that does not exist returns not_found and is charged once.
GET

List Mastodon post boosts and likes

/v1/mastodon/posts/reactions
1 credits3/day free6h cache
NameTypeRequiredDescription
urlstringyesPublic page, post, profile or video URL.
kindstringyesLookup parameter.
cursorstringnoLookup parameter.
limitstringnoMaximum records to return, from 1 to 20.
Request
curl -s "https://api.cleanfetch.dev/v1/mastodon/posts/reactions?url=https%3A%2F%2Fcleanfetch.dev&kind=example" \
  -H "x-api-key: $CLEANFETCH_API_KEY"
Response
{
  "data": {
    "platform": "mastodon",
    "count": 1,
    "items": [
      {
        "id": "123456",
        "url": "https://example.com/item/123456",
        "text": "Example public post returned by this endpoint.",
        "createdAt": "2026-11-30T00:00:00.000Z",
        "author": {
          "username": "nasa",
          "name": "NASA"
        }
      }
    ]
  },
  "meta": {
    "lookupStatus": "found",
    "creditsCharged": 1,
    "cached": false
  }
}

Returns

platformcountitems[].iditems[].urlitems[].textitems[].createdAt

Input notes

  • • Free accounts can call this endpoint up to 3 times per day.
  • • Responses are cached for 6h.
  • • A public record that does not exist returns not_found and is charged once.
GET

Get Mastodon profile

/v1/mastodon/profiles/{handle}
1 credits3/day free6h cache
NameTypeRequiredDescription
handlestringyesPublic handle or username.
includestringnoLookup parameter.
Request
curl -s "https://api.cleanfetch.dev/v1/mastodon/profiles/{handle}" \
  -H "x-api-key: $CLEANFETCH_API_KEY"
Response
{
  "data": {
    "platform": "mastodon",
    "count": 1,
    "items": [
      {
        "id": "123456",
        "url": "https://example.com/item/123456",
        "text": "Example public post returned by this endpoint.",
        "createdAt": "2026-11-30T00:00:00.000Z",
        "author": {
          "username": "nasa",
          "name": "NASA"
        }
      }
    ]
  },
  "meta": {
    "lookupStatus": "found",
    "creditsCharged": 1,
    "cached": false
  }
}

Returns

platformcountitems[].iditems[].urlitems[].textitems[].createdAt

Input notes

  • • Free accounts can call this endpoint up to 3 times per day.
  • • Responses are cached for 6h.
  • • A public record that does not exist returns not_found and is charged once.
GET

List Mastodon profile followers

/v1/mastodon/profiles/{handle}/followers
1 credits3/day free6h cache
NameTypeRequiredDescription
handlestringyesPublic handle or username.
cursorstringnoLookup parameter.
limitstringnoMaximum records to return, from 1 to 20.
Request
curl -s "https://api.cleanfetch.dev/v1/mastodon/profiles/{handle}/followers" \
  -H "x-api-key: $CLEANFETCH_API_KEY"
Response
{
  "data": {
    "platform": "mastodon",
    "count": 1,
    "items": [
      {
        "id": "123456",
        "url": "https://example.com/item/123456",
        "text": "Example public post returned by this endpoint.",
        "createdAt": "2026-11-30T00:00:00.000Z",
        "author": {
          "username": "nasa",
          "name": "NASA"
        }
      }
    ]
  },
  "meta": {
    "lookupStatus": "found",
    "creditsCharged": 1,
    "cached": false
  }
}

Returns

platformcountitems[].iditems[].urlitems[].textitems[].createdAt

Input notes

  • • Free accounts can call this endpoint up to 3 times per day.
  • • Responses are cached for 6h.
  • • A public record that does not exist returns not_found and is charged once.
GET

List who a Mastodon profile follows

/v1/mastodon/profiles/{handle}/following
1 credits3/day free6h cache
NameTypeRequiredDescription
handlestringyesPublic handle or username.
cursorstringnoLookup parameter.
limitstringnoMaximum records to return, from 1 to 20.
Request
curl -s "https://api.cleanfetch.dev/v1/mastodon/profiles/{handle}/following" \
  -H "x-api-key: $CLEANFETCH_API_KEY"
Response
{
  "data": {
    "platform": "mastodon",
    "count": 1,
    "items": [
      {
        "id": "123456",
        "url": "https://example.com/item/123456",
        "text": "Example public post returned by this endpoint.",
        "createdAt": "2026-11-30T00:00:00.000Z",
        "author": {
          "username": "nasa",
          "name": "NASA"
        }
      }
    ]
  },
  "meta": {
    "lookupStatus": "found",
    "creditsCharged": 1,
    "cached": false
  }
}

Returns

platformcountitems[].iditems[].urlitems[].textitems[].createdAt

Input notes

  • • Free accounts can call this endpoint up to 3 times per day.
  • • Responses are cached for 6h.
  • • A public record that does not exist returns not_found and is charged once.
GET

List Mastodon profile posts

/v1/mastodon/profiles/{handle}/posts
1 credits3/day free6h cache
NameTypeRequiredDescription
handlestringyesPublic handle or username.
filterstringnoLookup parameter.
tagstringnoLookup parameter.
cursorstringnoLookup parameter.
limitstringnoMaximum records to return, from 1 to 20.
labelsstringnoLookup parameter.
Request
curl -s "https://api.cleanfetch.dev/v1/mastodon/profiles/{handle}/posts" \
  -H "x-api-key: $CLEANFETCH_API_KEY"
Response
{
  "data": {
    "platform": "mastodon",
    "count": 1,
    "items": [
      {
        "id": "123456",
        "url": "https://example.com/item/123456",
        "text": "Example public post returned by this endpoint.",
        "createdAt": "2026-11-30T00:00:00.000Z",
        "author": {
          "username": "nasa",
          "name": "NASA"
        }
      }
    ]
  },
  "meta": {
    "lookupStatus": "found",
    "creditsCharged": 1,
    "cached": false
  }
}

Returns

platformcountitems[].iditems[].urlitems[].textitems[].createdAt

Input notes

  • • Free accounts can call this endpoint up to 3 times per day.
  • • Responses are cached for 6h.
  • • A public record that does not exist returns not_found and is charged once.
GET

Get Mastodon server

/v1/mastodon/servers/{host}
1 credits3/day free6h cache
NameTypeRequiredDescription
hoststringyesLookup parameter.
includestringnoLookup parameter.
Request
curl -s "https://api.cleanfetch.dev/v1/mastodon/servers/{host}" \
  -H "x-api-key: $CLEANFETCH_API_KEY"
Response
{
  "data": {
    "platform": "mastodon",
    "count": 1,
    "items": [
      {
        "id": "123456",
        "url": "https://example.com/item/123456",
        "text": "Example public post returned by this endpoint.",
        "createdAt": "2026-11-30T00:00:00.000Z",
        "author": {
          "username": "nasa",
          "name": "NASA"
        }
      }
    ]
  },
  "meta": {
    "lookupStatus": "found",
    "creditsCharged": 1,
    "cached": false
  }
}

Returns

platformcountitems[].iditems[].urlitems[].textitems[].createdAt

Input notes

  • • Free accounts can call this endpoint up to 3 times per day.
  • • Responses are cached for 6h.
  • • A public record that does not exist returns not_found and is charged once.
GET

Get Mastodon server weekly activity

/v1/mastodon/servers/{host}/activity
1 credits3/day free6h cache
NameTypeRequiredDescription
hoststringyesLookup parameter.
Request
curl -s "https://api.cleanfetch.dev/v1/mastodon/servers/{host}/activity" \
  -H "x-api-key: $CLEANFETCH_API_KEY"
Response
{
  "data": {
    "platform": "mastodon",
    "count": 1,
    "items": [
      {
        "id": "123456",
        "url": "https://example.com/item/123456",
        "text": "Example public post returned by this endpoint.",
        "createdAt": "2026-11-30T00:00:00.000Z",
        "author": {
          "username": "nasa",
          "name": "NASA"
        }
      }
    ]
  },
  "meta": {
    "lookupStatus": "found",
    "creditsCharged": 1,
    "cached": false
  }
}

Returns

platformcountitems[].iditems[].urlitems[].textitems[].createdAt

Input notes

  • • Free accounts can call this endpoint up to 3 times per day.
  • • Responses are cached for 6h.
  • • A public record that does not exist returns not_found and is charged once.
GET

List Mastodon server domain blocks

/v1/mastodon/servers/{host}/blocks
1 credits3/day free6h cache
NameTypeRequiredDescription
hoststringyesLookup parameter.
Request
curl -s "https://api.cleanfetch.dev/v1/mastodon/servers/{host}/blocks" \
  -H "x-api-key: $CLEANFETCH_API_KEY"
Response
{
  "data": {
    "platform": "mastodon",
    "count": 1,
    "items": [
      {
        "id": "123456",
        "url": "https://example.com/item/123456",
        "text": "Example public post returned by this endpoint.",
        "createdAt": "2026-11-30T00:00:00.000Z",
        "author": {
          "username": "nasa",
          "name": "NASA"
        }
      }
    ]
  },
  "meta": {
    "lookupStatus": "found",
    "creditsCharged": 1,
    "cached": false
  }
}

Returns

platformcountitems[].iditems[].urlitems[].textitems[].createdAt

Input notes

  • • Free accounts can call this endpoint up to 3 times per day.
  • • Responses are cached for 6h.
  • • A public record that does not exist returns not_found and is charged once.
GET

List Mastodon server peers

/v1/mastodon/servers/{host}/peers
1 credits3/day free6h cache
NameTypeRequiredDescription
hoststringyesLookup parameter.
qstringnoLookup parameter.
cursorstringnoLookup parameter.
limitstringnoMaximum records to return, from 1 to 20.
Request
curl -s "https://api.cleanfetch.dev/v1/mastodon/servers/{host}/peers" \
  -H "x-api-key: $CLEANFETCH_API_KEY"
Response
{
  "data": {
    "platform": "mastodon",
    "count": 1,
    "items": [
      {
        "id": "123456",
        "url": "https://example.com/item/123456",
        "text": "Example public post returned by this endpoint.",
        "createdAt": "2026-11-30T00:00:00.000Z",
        "author": {
          "username": "nasa",
          "name": "NASA"
        }
      }
    ]
  },
  "meta": {
    "lookupStatus": "found",
    "creditsCharged": 1,
    "cached": false
  }
}

Returns

platformcountitems[].iditems[].urlitems[].textitems[].createdAt

Input notes

  • • Free accounts can call this endpoint up to 3 times per day.
  • • Responses are cached for 6h.
  • • A public record that does not exist returns not_found and is charged once.
GET

List posts with a Mastodon hashtag

/v1/mastodon/timelines/hashtags/{tag}
1 credits3/day free6h cache
NameTypeRequiredDescription
tagstringyesLookup parameter.
hoststringyesLookup parameter.
scopestringnoLookup parameter.
mediaOnlystringnoLookup parameter.
anystringnoLookup parameter.
allstringnoLookup parameter.
nonestringnoLookup parameter.
cursorstringnoLookup parameter.
limitstringnoMaximum records to return, from 1 to 20.
Request
curl -s "https://api.cleanfetch.dev/v1/mastodon/timelines/hashtags/{tag}?host=example" \
  -H "x-api-key: $CLEANFETCH_API_KEY"
Response
{
  "data": {
    "platform": "mastodon",
    "count": 1,
    "items": [
      {
        "id": "123456",
        "url": "https://example.com/item/123456",
        "text": "Example public post returned by this endpoint.",
        "createdAt": "2026-11-30T00:00:00.000Z",
        "author": {
          "username": "nasa",
          "name": "NASA"
        }
      }
    ]
  },
  "meta": {
    "lookupStatus": "found",
    "creditsCharged": 1,
    "cached": false
  }
}

Returns

platformcountitems[].iditems[].urlitems[].textitems[].createdAt

Input notes

  • • Free accounts can call this endpoint up to 3 times per day.
  • • Responses are cached for 6h.
  • • A public record that does not exist returns not_found and is charged once.
GET

List Mastodon server public timeline

/v1/mastodon/timelines/public
1 credits3/day free6h cache
NameTypeRequiredDescription
hoststringyesLookup parameter.
scopestringnoLookup parameter.
mediaOnlystringnoLookup parameter.
cursorstringnoLookup parameter.
limitstringnoMaximum records to return, from 1 to 20.
Request
curl -s "https://api.cleanfetch.dev/v1/mastodon/timelines/public?host=example" \
  -H "x-api-key: $CLEANFETCH_API_KEY"
Response
{
  "data": {
    "platform": "mastodon",
    "count": 1,
    "items": [
      {
        "id": "123456",
        "url": "https://example.com/item/123456",
        "text": "Example public post returned by this endpoint.",
        "createdAt": "2026-11-30T00:00:00.000Z",
        "author": {
          "username": "nasa",
          "name": "NASA"
        }
      }
    ]
  },
  "meta": {
    "lookupStatus": "found",
    "creditsCharged": 1,
    "cached": false
  }
}

Returns

platformcountitems[].iditems[].urlitems[].textitems[].createdAt

Input notes

  • • Free accounts can call this endpoint up to 3 times per day.
  • • Responses are cached for 6h.
  • • A public record that does not exist returns not_found and is charged once.

Mapped / 4

503 · 0 credits
GET

Get Mastodon posts by id

/v1/mastodon/posts/batch

503 upstream_not_configured · 0 credits
GET

List Mastodon profile collections

/v1/mastodon/profiles/{handle}/collections

503 upstream_not_configured · 0 credits
GET

Get Mastodon profiles by id

/v1/mastodon/profiles/batch

503 upstream_not_configured · 0 credits
GET

List Mastodon server custom emoji

/v1/mastodon/servers/{host}/emojis

503 upstream_not_configured · 0 credits
FAQ / Mastodon

Common Mastodon API questions

Pricing, caching, authentication, and placeholder behavior.
How many Mastodon operations are live?

23 of 27 cataloged operations are live. 4 mapped operations return 503 upstream_not_configured and cost 0 credits.

What does a Mastodon call cost?

Live operations range from 1 to 2 credits. 23 are available on the free daily cap and 0 are paid-only. Cache hits cost 0 credits.

Are Mastodon responses cached?

Successful responses are cached between 1h and 6h. A cache hit costs 0 credits and does not consume the free daily cap.

How do I authenticate Mastodon requests?

Send x-api-key or Authorization: Bearer with a CleanFetch key. Missing or invalid keys return 401; paid-only routes return 403 plan_required; rate limits return 429 with Retry-After. A 5xx or timeout costs 0 credits.

ready