Piloterr

Franchise Direct Search

GET
/v2/franchisedirect/search

Search Franchise Direct listings by keyword or listing URL. Each card includes a USD cash figure and a numeric minimum.

Credit cost: 1 credit per call

Autorização

ApiKeyAuth
headerx-api-key<token>

Your API key. Include it in the x-api-key header for every request.

Parâmetros de consulta

query*string

Required. A keyword, or a Franchise Direct listing URL (search, directory, or category). A profile URL such as /coffee-franchises/coffeenow returns 400 on this endpoint. Send that URL to /v2/franchisedirect/franchise.

Example:

coffee

URL example:

https://www.franchisedirect.com/search?q=coffee

Corpo da resposta

Successful response

application/json
  1. response
results?array<>
pagination?
Example Request
curl -X GET 'https://api.piloterr.com/v2/franchisedirect/search?query=string'
Example Response
{  "results": [    {      "url": "https://www.franchisedirect.com/coffee-franchises/coffeenow",      "name": "CoffeeNow",      "image": "https://static4.franchisedirect.ie/dims4/default/5f4574f/2147483647/strip/true/crop/350x220+0+0/resize/255x160!/quality/95/?url=https%3A%2F%2Ffranchisedirect-40-prod-ops.s3.amazonaws.com%2F6b%2F9b%2F473082ad4c1b8cfef7f36c4f428c%2Fcn-logo.jpeg",      "category": "Coffee Franchises",      "description": "Bring the coffee shop experience directly to local workplaces with a technology-driven mobile franchise that eliminates the need for a traditional storefront. CoffeeNow combines custom-outfitted coffee vans, proprietary ordering technology, and recurring B2B routes to help entrepreneurs build a scalable business around the weekday workday.",      "minimum_cash_required": 60000,      "minimum_cash_required_display": "$60,000"    }  ],  "pagination": {    "next": null,    "page": 1,    "per_page": 6,    "total_pages": null,    "total_results": null  }}