---
title: "Get data blocks from a given repo, by CID. For example, intermediate MST nodes, or records. Does not require auth; implemented by PDS."
method: GET
path: "/xrpc/com.atproto.sync.getBlocks"
tags: ["com.atproto.sync"]
---

# Get data blocks from a given repo, by CID. For example, intermediate MST nodes, or records. Does not require auth; implemented by PDS.

`GET /xrpc/com.atproto.sync.getBlocks`

## Query parameters

- `did` string, did, required — The DID of the repo.
- `cids` string[], required

## Response `200`

Success

## Other responses

- `400` — Bad Request

## Changes

- **2026-07-26** `8e2ce7f5d85b` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/streamplace/apis/generated-lexicon-api-schema/changes/xrpc/com.atproto.sync.getBlocks/get.md)

---

[API](https://skmtc.dev/streamplace/apis/generated-lexicon-api-schema.md) · [All operations](https://skmtc.dev/streamplace/apis/generated-lexicon-api-schema/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/streamplace/generated-lexicon-api-schema/revisions/8e2ce7f5d85b/schema)
