---
agentTools:
  projectIndex: https://spacepool.readme.io/llms.txt
---

# Get recent blocks farmed by a farmer by launcher or alias

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Space Pool Developer API",
    "description": "Space Pool public developer REST APIs",
    "termsOfService": "https://pool.space/terms",
    "contact": {
      "name": "Space Pool",
      "url": "https://pool.space/about",
      "email": "info@pool.space"
    },
    "version": "v1"
  },
  "servers": [
    {
      "url": "https://developer.pool.space",
      "description": "Space Pool Developer API"
    }
  ],
  "paths": {
    "/api/v1/farms/{launcherIdOrAlias}/blocks": {
      "get": {
        "tags": [
          "Get Farm Blocks V1"
        ],
        "summary": "Get recent blocks farmed by a farmer by launcher or alias",
        "parameters": [
          {
            "name": "launcherIdOrAlias",
            "in": "path",
            "description": "Launcher id or alias",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Developer-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "User-Agent",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/FarmBlockV1ModelCollectionResponseV1Model"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FarmBlockV1ModelCollectionResponseV1Model"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/FarmBlockV1ModelCollectionResponseV1Model"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "FarmBlockV1Model": {
        "type": "object",
        "properties": {
          "rewardCoinId": {
            "type": "string",
            "description": "Coin id of the reward coin from the related block reward for farming this block",
            "nullable": true
          },
          "blockNumber": {
            "type": "integer",
            "description": "Height of the farmed block on the blockchain",
            "format": "int64"
          },
          "rewardCoinDateTimeUtc": {
            "type": "string",
            "description": "Date and time that the block reward coin was created on the blockchain",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "FarmBlockV1ModelCollectionResponseV1Model": {
        "type": "object",
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FarmBlockV1Model"
            },
            "description": "API response results",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Generic response model for requests that return collections that are not pageable"
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 97,
      "1": 78,
      "2": 113,
      "3": 40,
      "4": 150,
      "5": 240,
      "6": 111,
      "7": 0,
      "8": 87,
      "9": 153,
      "10": 98,
      "11": 83
    }
  }
}
```