{
  "openapi": "3.0.1",
  "info": {
    "title": "DeviantArt Email Scraper",
    "description": "Scrape DeviantArt artworks, galleries and popular art, and find public artist emails from profile bios. Titles, descriptions, tags, image URLs, stats and creator details.",
    "version": "1.0",
    "x-build-id": "GdZXho7WK7ob5nztz"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/parsebird~deviantart-email-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-parsebird-deviantart-email-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/parsebird~deviantart-email-scraper/runs": {
      "post": {
        "operationId": "runs-sync-parsebird-deviantart-email-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/parsebird~deviantart-email-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-parsebird-deviantart-email-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "required": [
          "sourceType"
        ],
        "properties": {
          "sourceType": {
            "title": "What to scrape",
            "enum": [
              "artworkSearch",
              "gallery",
              "popular",
              "emailLeads"
            ],
            "type": "string",
            "description": "Pick the mode. <b>Artwork search</b>: search DeviantArt for keywords. <b>Gallery or profile artwork</b>: every artwork in a creator's gallery. <b>Popular artwork</b>: tag feeds or Daily Deviations. <b>Email leads</b>: creators whose public profile shows an email address.",
            "default": "artworkSearch"
          },
          "targets": {
            "title": "Targets",
            "type": "array",
            "description": "Add one entry per line. <b>Artwork search</b>: search terms (<code>fantasy art</code>), DeviantArt search URLs, tag URLs or artwork URLs. <b>Gallery</b>: usernames, <code>@handles</code>, profile, gallery or gallery-folder URLs. <b>Popular</b>: tags such as <code>cyberpunk</code> or tag URLs, or leave empty for Daily Deviations. <b>Email leads</b>: niche search terms (<code>commissions open</code>), or <code>@handles</code> and profile URLs to check specific creators.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "maxItems": {
            "title": "Max results",
            "minimum": 0,
            "maximum": 50000,
            "type": "integer",
            "description": "Stop after this many saved rows across all targets. Leave empty to collect everything available (up to 50,000 rows per run)."
          },
          "category": {
            "title": "Category",
            "enum": [
              "",
              "digitalart",
              "traditionalart",
              "photography",
              "fantasy",
              "anime",
              "manga",
              "fanart",
              "originalcharacter",
              "characterdesign",
              "conceptart",
              "illustration",
              "painting",
              "drawing",
              "sketch",
              "watercolor",
              "pixelart",
              "vectorart",
              "3d",
              "comics",
              "chibi",
              "sciencefiction",
              "cyberpunk",
              "steampunk",
              "horror",
              "darkart",
              "landscape",
              "nature",
              "architecture",
              "portrait",
              "animals",
              "furry",
              "pokemon",
              "gameart",
              "cosplay",
              "sculpture",
              "streetart",
              "abstract",
              "wallpaper",
              "adoptables",
              "aiart"
            ],
            "type": "string",
            "description": "DeviantArt now organises art by topic tags. For <b>Artwork search</b>, keep only artworks tagged with this topic. For <b>Popular</b>, browse this topic when no tags are given, or keep only artworks with this tag from your tags. Ignored in Gallery and Email leads.",
            "default": ""
          },
          "popularSort": {
            "title": "Popular sort",
            "enum": [
              "popular",
              "newest"
            ],
            "type": "string",
            "description": "Order for tag feeds in <b>Popular</b> mode: DeviantArt's popular ranking, or newest uploads first.",
            "default": "popular"
          },
          "includeCreatorProfile": {
            "title": "Add creator profile details",
            "type": "boolean",
            "description": "For artwork rows, also read each creator's About page to fill <code>profileBio</code>, website, country, social links, watcher count and public emails. Adds one request per new creator.",
            "default": false
          },
          "location": {
            "title": "Location or niche (email leads)",
            "type": "string",
            "description": "Email leads only. Add a place, topic, style or niche. It is added to every search term, e.g. <code>commissions open</code> + <code>Brazil</code>."
          },
          "emailDomains": {
            "title": "Email domains to keep",
            "type": "array",
            "description": "Email leads only. Keep only emails on these domains, e.g. <code>gmail.com</code> or <code>outlook.com</code>. Leave empty to keep every public email.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "DeviantArt limits how many requests one IP address can send. The default Apify Proxy spreads large runs over several IPs. Keep it on unless you use your own proxies.",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}