{
  "openapi": "3.0.1",
  "info": {
    "title": "DesignRush Agency Directory & Profile Extractor",
    "description": "Browse DesignRush's agency directory by service category or fetch specific agency profiles, with ratings, reviews, services, location, and pricing.",
    "version": "1.0",
    "x-build-id": "KXqo1esiaaKJ8Q8Pw"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/dataspryva~designrush-agency-directory-and-profile-extractor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-dataspryva-designrush-agency-directory-and-profile-extractor",
        "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/dataspryva~designrush-agency-directory-and-profile-extractor/runs": {
      "post": {
        "operationId": "runs-sync-dataspryva-designrush-agency-directory-and-profile-extractor",
        "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/dataspryva~designrush-agency-directory-and-profile-extractor/run-sync": {
      "post": {
        "operationId": "run-sync-dataspryva-designrush-agency-directory-and-profile-extractor",
        "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": [
          "mode"
        ],
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "byCategory",
              "byUrl"
            ],
            "type": "string",
            "description": "Browse the agency directory or read specific agency profiles.",
            "default": "byCategory"
          },
          "category": {
            "title": "Service category",
            "enum": [
              "digital-marketing",
              "search-engine-optimization",
              "paid-media-pay-per-click",
              "social-media-marketing",
              "email-marketing",
              "content-marketing",
              "website-design-development",
              "web-development-companies",
              "ecommerce",
              "ui-ux-design",
              "logo-branding",
              "digital-agencies",
              "creative-agencies",
              "product-design",
              "logo-design",
              "graphic-design",
              "package-design",
              "video-production",
              "video-marketing",
              "public-relations",
              "software-development",
              "mobile-app-design-development",
              "it-services",
              "ad-agencies",
              "reputation-management-companies",
              "media-buying-agencies",
              "design-agencies",
              "seo",
              "branding",
              "mobile-app-development",
              "pr-firms",
              "advertising"
            ],
            "type": "string",
            "description": "Directory service category to browse. Legacy saved values (seo, branding, mobile-app-development, pr-firms, advertising) are also accepted.",
            "default": "digital-marketing"
          },
          "location": {
            "title": "Location path",
            "type": "string",
            "description": "Optional DesignRush location slug: us, uk, a US state (new-york, california), or a state/city pair (new-york/new-york-city). Leave empty for agencies worldwide. You can also paste a DesignRush directory URL.",
            "default": ""
          },
          "budget": {
            "title": "Minimum project budget",
            "enum": [
              "any",
              "1000-10000",
              "10000-25000",
              "25000-50000",
              "50000-and-up"
            ],
            "type": "string",
            "description": "Only show agencies whose minimum project budget falls in this range.",
            "default": "any"
          },
          "industry": {
            "title": "Industry",
            "enum": [
              "any",
              "Industrial",
              "agriculture",
              "ai",
              "arts",
              "beauty",
              "beer",
              "boutique",
              "construction",
              "consumer",
              "corporate-services",
              "delivery-takeaway",
              "design",
              "ecommerce",
              "education",
              "electronics",
              "energy-mining",
              "entertainment",
              "finance",
              "fintech",
              "gambling",
              "gaming",
              "hardware-networking",
              "hobbies-gifts",
              "home-garden",
              "home-services",
              "hr",
              "insurance",
              "luxury",
              "manufacturing",
              "media-communications",
              "nft",
              "other",
              "personal-injury",
              "pets",
              "professional-services",
              "public-administration",
              "public-safety",
              "publishing",
              "real-estate",
              "recreation-travel",
              "retail",
              "social-networks",
              "software-it-services",
              "supplements",
              "transportation-logistics",
              "wellness-fitness"
            ],
            "type": "string",
            "description": "Only show agencies that serve this industry.",
            "default": "any"
          },
          "sortBy": {
            "title": "Sort order",
            "enum": [
              "sponsored",
              "organic",
              "topRated",
              "mostReviewed",
              "hourlyHighToLow",
              "hourlyLowToHigh"
            ],
            "type": "string",
            "description": "How DesignRush should order the directory results.",
            "default": "sponsored"
          },
          "startPage": {
            "title": "Start page",
            "minimum": 1,
            "maximum": 432,
            "type": "integer",
            "description": "Directory page to start from (1-432). Useful for splitting large categories across runs.",
            "default": 1
          },
          "maxPages": {
            "title": "Max pages",
            "minimum": 1,
            "maximum": 432,
            "type": "integer",
            "description": "Maximum number of directory pages to read in this run (1-432). The actor also stops when it reaches Max items or the last page.",
            "default": 20
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Hard cap on the number of agency records returned.",
            "default": 50
          },
          "agencyUrls": {
            "title": "Agency profile URLs (mode=byUrl)",
            "type": "array",
            "description": "DesignRush agency profile URLs or slugs, e.g. https://www.designrush.com/agency/profile/smartsites.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "startUrls": {
            "title": "Start URLs (mode=byUrl)",
            "type": "array",
            "description": "Alternative profile URL input for saved tasks. Accepts Apify request-list objects or plain strings.",
            "items": {
              "type": "object",
              "properties": {
                "url": {
                  "title": "Profile URL",
                  "type": "string",
                  "description": "DesignRush agency profile URL."
                }
              }
            },
            "default": []
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}