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

# Socials scrape

> Trigger scrape jobs for all social profiles linked to an artist. Provide an artist_account_id, and the API will look up the artist's socials and invoke a scraping job for each social profile. Each scrape returns Apify run metadata so you can poll for status and retrieve results.



## OpenAPI

````yaml post /api/artist/socials/scrape
openapi: 3.1.0
info:
  title: Recoup API - Releases
  description: >-
    API documentation for the Recoup platform - an AI agent platform for the
    music industry
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.recoupable.dev
security: []
paths:
  /api/artist/socials/scrape:
    post:
      description: >-
        Trigger scrape jobs for all social profiles linked to an artist. Provide
        an artist_account_id, and the API will look up the artist's socials and
        invoke a scraping job for each social profile. Each scrape returns Apify
        run metadata so you can poll for status and retrieve results.
      requestBody:
        description: Artist to scrape socials for
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ArtistSocialsScrapeRequest'
      responses:
        '200':
          description: Scrape jobs triggered successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ArtistSocialsScrapeResponse'
        '400':
          description: Bad request - missing required parameters
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ArtistSocialsErrorResponse'
components:
  schemas:
    ArtistSocialsScrapeRequest:
      type: object
      required:
        - artist_account_id
      properties:
        artist_account_id:
          type: string
          format: uuid
          description: UUID of the artist account to scrape socials for
          example: 1873859c-dd37-4e9a-9bac-80d35a1b2c3d
    ArtistSocialsScrapeResponse:
      type: array
      items:
        $ref: '#/components/schemas/ApifyRunResult'
      description: Array of Apify run results, one for each social profile scraped
    ArtistSocialsErrorResponse:
      type: object
      required:
        - status
        - message
      properties:
        status:
          type: string
          enum:
            - error
          description: Status of the request
        message:
          type: string
          description: Error message describing what went wrong
    ApifyRunResult:
      type: object
      properties:
        runId:
          type: string
          description: Unique identifier for the Apify run
        datasetId:
          type: string
          description: Unique identifier for the dataset containing scraped data
        error:
          type: string
          nullable: true
          description: Error message if the run failed (null if successful)

````