> ## Documentation Index
> Fetch the complete documentation index at: https://docs.inprocess.world/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Metadata

> Proxy requests to fetch JSON metadata from IPFS or Arweave URIs.

<Note>
  This endpoint is **public** and does not require authentication.
</Note>

## Example Usage

```bash theme={null}
curl "https://api.inprocess.world/api/metadata?uri=ar://TV4yYVYJ7mwsDZ19h_YNQBtRbLVIr_WITsrBnHxxW30"
```

```bash theme={null}
curl "https://api.inprocess.world/api/metadata?uri=ipfs://bafybeig..."
```

## Example Response

```json theme={null}
{
  "name": "Screenshot",
  "description": "",
  "image": "ar://gV14eh4vlzv1uVXLqFurgbpf9NXZqFSMxRBk2uO3J5o",
  "external_url": "",
  "animation_url": "ar://TV4yYVYJ7mwsDZ19h_YNQBtRbLVIr_WITsrBnHxxW30",
  "content": {
    "mime": "image/jpeg",
    "uri": "ar://TV4yYVYJ7mwsDZ19h_YNQBtRbLVIr_WITsrBnHxxW30"
  }
}
```


## OpenAPI

````yaml GET /metadata
openapi: 3.1.0
info:
  title: In•Process API
  description: >-
    The In•Process API enables browsing and managing moments from timelines.
    Retrieve moments from a specific artist's timeline, browse the in•process
    collective timeline, or filter by collection. The API supports creating
    moments, managing collections, handling payments, and interacting with the
    In•Process protocol ecosystem.
  version: 1.0.0
servers:
  - url: https://api.inprocess.world/api
    description: Production server
security: []
paths:
  /metadata:
    get:
      summary: Get Metadata
      description: >-
        Proxy requests to fetch and return JSON metadata from a given URI.
        Supports IPFS and Arweave URIs by resolving them to a fetchable gateway
        URL before fetching.
      operationId: getMetadata
      parameters:
        - name: uri
          in: query
          description: >-
            The URI of the metadata to fetch. Supports IPFS (`ipfs://`) and
            Arweave (`ar://`) URIs.
          required: true
          schema:
            type: string
          example: ipfs://bafybeig...
      responses:
        '200':
          description: Metadata JSON returned successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  name:
                    type: string
                    description: Name of the token or asset
                    example: Screenshot
                  description:
                    type: string
                    description: Description of the token or asset
                    example: ''
                  image:
                    type: string
                    description: Arweave or IPFS URI of the asset image
                    example: ar://gV14eh4vlzv1uVXLqFurgbpf9NXZqFSMxRBk2uO3J5o
                  external_url:
                    type: string
                    description: External URL for the asset
                    example: ''
                  animation_url:
                    type: string
                    description: Arweave or IPFS URI of the animation or media file
                    example: ar://TV4yYVYJ7mwsDZ19h_YNQBtRbLVIr_WITsrBnHxxW30
                  content:
                    type: object
                    description: Content metadata for the asset media
                    properties:
                      mime:
                        type: string
                        description: MIME type of the media content
                        example: image/jpeg
                      uri:
                        type: string
                        description: Arweave or IPFS URI of the media content
                        example: ar://TV4yYVYJ7mwsDZ19h_YNQBtRbLVIr_WITsrBnHxxW30
              example:
                name: Screenshot
                description: ''
                image: ar://gV14eh4vlzv1uVXLqFurgbpf9NXZqFSMxRBk2uO3J5o
                external_url: ''
                animation_url: ar://TV4yYVYJ7mwsDZ19h_YNQBtRbLVIr_WITsrBnHxxW30
                content:
                  mime: image/jpeg
                  uri: ar://TV4yYVYJ7mwsDZ19h_YNQBtRbLVIr_WITsrBnHxxW30
        '400':
          description: Missing or invalid URI
          content:
            application/json:
              schema:
                type: object
                required:
                  - message
                properties:
                  message:
                    type: string
              examples:
                noUri:
                  value:
                    message: No URI provided
                invalidUri:
                  value:
                    message: Invalid or unsupported URI
        '500':
          description: Failed to fetch metadata
          content:
            application/json:
              schema:
                type: object
                required:
                  - message
                properties:
                  message:
                    type: string
              example:
                message: failed to get metadata
      security: []

````