Craigslist API

API ID 14944

Anúncios classificados em todas as seções: à venda habitação empregos oportunidades serviços comunidade eventos e currículos com filtros de área preço e categoria detalhes completos do anúncio contagens de áreas e categorias

Documentação da API

Endpoints

Requisição
Retorna todas as áreas do Craigslist (site local) com seu id, nome de host, nome, país, região, coordenadas, fuso horário e subáreas O nome do host da área e a abreviação da subárea são o que os endpoints de busca utilizam
Endpoint ID: 39137
GET https://zylalabs.com/api/14944/craigslist+api/39137/get+all+areas+with+their+subareas
PARÂMETROS DE ENTRADA

Obtenha todas as áreas com suas subáreas — Recursos do endpoint

Objeto Descrição
country Opcional Two-letter country code to list the areas of one country only (e.g. US)

Solicitações gratuitas de teste restantes: 3 de 3.


PARÂMETROS DE ENTRADA

country
RESPOSTA DE EXEMPLO DA API
JSON
[
    {
        "id": 1,
        "hostname": "sfbay",
        "abbreviation": "sfo",
        "name": "SF bay area",
        "shortName": "SF bay area",
        "country": "US",
        "region": "CA",
        "latitude": 37.5,
        "longitude": -122.25,
        "timezone": "America/Los_Angeles",
        "subareas": [
            {
                "id": 1,
                "abbreviation": "sfc",
                "name": "city of san francisco",
                "shortName": "san francisco"
            },
            {
                "id": 2,
                "abbreviation": "sby",
                "name": "south bay area",
                "shortName": "south bay"
            },
            {
                "id": 3,
                "abbreviation": "eby",
                "name": "east bay area",
                "shortName": "east bay"
            },
            {
                "id": 4,
                "abbreviation": "pen",
                "name": "peninsula",
                "shortName": "peninsula"
            },
            {
                "id": 5,
                "abbreviation": "nby",
                "name": "north bay / marin",
                "shortName": "north bay"
            },
            {
                "id": 6,
                "abbreviation": "scz",
                "name": "santa cruz co",
                "shortName": "santa cruz"
            }
        ]
    },
    {
        "id": 2,
        "hostname": "seattle",
        "abbreviation": "sea",
        "name": "seattle-tacoma",
        "shortName": "seattle",
        "country": "US",
        "region": "WA",
        "latitude": 47.6064,
        "longitude": -122.331001,
        "timezone": "America/Los_Angeles",
        "subareas": [
            {
                "id": 1,
                "abbreviation": "see",
                "name": "seattle",
                "shortName": "seattle"
            },
            {
                "id": 2,
                "abbreviation": "est",
                "name": "eastside",
                "shortName": "eastside"
            },
            {
                "id": 3,
                "abbreviation": "sno",
                "name": "snohomish county",
                "shortName": "snohomish co"
            },
            {
                "id": 4,
                "abbreviation": "kit",
                "name": "kitsap / west puget",
                "shortName": "kitsap co"
            },
            {
                "id": 5,
                "abbreviation": "tac",
                "name": "tacoma / pierce",
                "shortName": "tacoma"
            },
            {
                "id": 6,
                "abbreviation": "oly",
                "name": "olympia / thurston",
                "shortName": "olympia"
            },
            {
                "id": 7,
                "abbreviation": "skc",
                "name": "south king co",
                "shortName": "south king"
            }
        ]
    },
    {
        "id": 3,
        "hostname": "newyork",
        "abbreviation": "nyc",
        "name": "new york city",
        "shortName": "new york",
        "country": "US",
        "region": "NY",
        "latitude": 40.714199,
        "longitude": -74.006401,
        "timezone": "America/New_York",
        "subareas": [
            {
                "id": 1,
                "abbreviation": "mnh",
                "name": "manhattan",
                "shortName": "manhattan"
            },
            {
                "id": 2,
                "abbreviation": "brk",
                "name": "brooklyn",
                "shortName": "brooklyn"
            },
            {
                "id": 3,
                "abbreviation": "que",
                "name": "queens",
                "shortName": "queens"
            },
            {
                "id": 4,
                "abbreviation": "brx",
                "name": "bronx",
                "shortName": "bronx"
            },
            {
                "id": 5,
                "abbreviation": "stn",
                "name": "staten island",
                "shortName": "staten island"
            },
            {
                "id": 6,
                "abbreviation": "jsy",
                "name": "new jersey",
                "shortName": "new jersey"
            },
            {
                "id": 7,
                "abbreviation": "lgi",
                "name": "long island",
                "shortName": "long island"
            },
            {
                "id": 8,
                "abbreviation": "wch",
                "name": "westchester",
                "shortName": "westchester"
            },
            {
                "id": 9,
                "abbreviation": "fct",
                "name": "fairfield co, CT",
                "shortName": "fairfield"
            }
        ]
    },
    {
        "id": 4,
        "hostname": "boston",
        "abbreviation": "bos",
        "name": "boston",
        "shortName": "boston",
        "country": "US",
        "region": "MA",
        "latitude": 42.358299,
        "longitude": -71.060303,
        "timezone": "America/New_York",
        "subareas": [
            {
                "id": 1,
                "abbreviation": "gbs",
                "name": "boston/cambridge/brookline",
                "shortName": "boston/camb/brook"
            },
            {
                "id": 2,
                "abbreviation": "nwb",
                "name": "northwest/merrimack",
                "shortName": "northwest/merrimack"
            },
            {
                "id": 3,
                "abbreviation": "bmw",
                "name": "metro west",
                "shortName": "metro west"
            },
            {
                "id": 4,
                "abbreviation": "nos",
                "name": "north shore",
                "shortName": "north shore"
            },
            {
                "id": 5,
                "abbreviation": "sob",
                "name": "south shore",
                "shortName": "south shore"
            }
        ]
    },
    {
        "id": 7,
        "hostname": "losangeles",
        "abbreviation": "lax",
        "name": "los angeles",
        "shortName": "los angeles",
        "country": "US",
        "region": "CA",
        "latitude": 34.0522,
        "longitude": -118.242996,
        "timezone": "America/Los_Angeles",
        "subareas": [
            {
                "id": 1,
                "abbreviation": "wst",
                "name": "westside-southbay-310",
                "shortName": "westside-southbay"
            },
            {
                "id": 2,
                "abbreviation": "sfv",
                "name": "san fernando valley",
                "shortName": "SF valley"
            },
            {
                "id": 3,
                "abbreviation": "lac",
                "name": "central LA 213/323",
                "shortName": "central LA"
            },
            {
                "id": 4,
                "abbreviation": "sgv",
                "name": "san gabriel valley",
                "shortName": "san gabriel valley"
            },
            {
                "id": 5,
                "abbreviation": "lgb",
                "name": "long beach / 562",
                "shortName": "long beach"
            },
            {
                "id": 6,
                "abbreviation": "ant",
                "name": "antelope valley",
                "shortName": "antelope valley"
            }
        ]
    },
    {
        "id": 8,
        "hostname": "sandiego",
        "abbreviation": "sdo",
        "name": "san diego",
        "shortName": "san diego",
        "country": "US",
        "region": "CA",
        "latitude": 32.715302,
        "longitude": -117.155998,
        "timezone": "America/Los_Angeles",
        "subareas": [
            {
                "id": 1,
                "abbreviation": "csd",
                "name": "city of san diego",
                "shortName": "city of san diego"
            },
            {
                "id": 2,
                "abbreviation": "nsd",
                "name": "north san diego county",
                "shortName": "north SD county"
            },
            {
                "id": 3,
                "abbreviation": "esd",
                "name": "east san diego county",
                "shortName": "east SD county"
            },
            {
                "id": 4,
                "abbreviation": "ssd",
                "name": "south san diego county",
                "shortName": "south SD county"
            }
        ]
    },
    {
        "id": 9,
        "hostname": "portland",
        "abbreviation": "pdx",
        "name": "portland, OR",
        "shortName": "portland",
        "country": "US",
        "region": "OR",
        "latitude": 45.523602,
        "longitude": -122.675003,
        "timezone": "America/Los_Angeles",
        "subareas": [
            {
                "id": 1,
                "abbreviation": "mlt",
                "name": "multnomah county",
                "shortName": "multnomah co"
            },
            {
                "id": 2,
                "abbreviation": "wsc",
                "name": "washington county",
                "shortName": "washington co"
            },
            {
                "id": 3,
                "abbreviation": "clk",
                "name": "clark/cowlitz WA"
            }
        ]
    },
    {
        "_note": "Response truncated for documentation purposes"
    }
]
Obtenha todas as áreas com suas subáreas — TRECHOS DE CÓDIGO

curl --location --request GET 'https://zylalabs.com/api/14944/craigslist+api/39137/get+all+areas+with+their+subareas?country=US' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Requisição
Retorna a área e subárea do Craigslist que cobrem um par de coordenadas, juntamente com a cidade, região, país e código postal naquele ponto
Endpoint ID: 39138
GET https://zylalabs.com/api/14944/craigslist+api/39138/get+the+area+that+covers+given+coordinates
PARÂMETROS DE ENTRADA

Obtenha a área que cobre as coordenadas dadas — Recursos do endpoint

Objeto Descrição
latitude Obrigatório Latitude of the point (e.g. 40.7128)
longitude Obrigatório Longitude of the point (e.g. -74.0060)

Solicitações gratuitas de teste restantes: 3 de 3.


PARÂMETROS DE ENTRADA

latitude
longitude
RESPOSTA DE EXEMPLO DA API
JSON
{
    "area": "newyork",
    "areaId": 3,
    "subarea": "que",
    "city": "New York",
    "region": "NY",
    "country": "US",
    "postal": "10156",
    "latitude": 40.714,
    "longitude": -74.007
}
Obtenha a área que cobre as coordenadas dadas — TRECHOS DE CÓDIGO

curl --location --request GET 'https://zylalabs.com/api/14944/craigslist+api/39138/get+the+area+that+covers+given+coordinates?latitude=40.7128&longitude=-74.0060' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Requisição
Retorna as seções do Craigslist (para venda, habitação, empregos, trabalhos temporários, serviços, comunidade, eventos, currículos) com as categorias de cada: id, abreviação e nome. Tanto a seção quanto a abreviação da categoria são aceitas sempre que uma categoria for solicitada
Endpoint ID: 39139
GET https://zylalabs.com/api/14944/craigslist+api/39139/get+all+sections+with+their+categories
PARÂMETROS DE ENTRADA

Solicitações gratuitas de teste restantes: 3 de 3.

Este endpoint não requer parâmetros de entrada.

RESPOSTA DE EXEMPLO DA API
JSON
[
    {
        "abbreviation": "hhh",
        "name": "housing",
        "categories": [
            {
                "id": 1,
                "abbreviation": "apa",
                "name": "apartments / housing for rent"
            },
            {
                "id": 2,
                "abbreviation": "hou",
                "name": "wanted: apts"
            },
            {
                "id": 18,
                "abbreviation": "roo",
                "name": "rooms & shares"
            },
            {
                "id": 19,
                "abbreviation": "sha",
                "name": "wanted: room/share"
            },
            {
                "id": 39,
                "abbreviation": "sub",
                "name": "sublets & temporary"
            },
            {
                "id": 40,
                "abbreviation": "off",
                "name": "office & commercial"
            },
            {
                "id": 41,
                "abbreviation": "prk",
                "name": "parking & storage"
            },
            {
                "id": 58,
                "abbreviation": "sbw",
                "name": "wanted: sublet/temp"
            },
            {
                "id": 65,
                "abbreviation": "swp",
                "name": "housing swap"
            },
            {
                "id": 99,
                "abbreviation": "vac",
                "name": "vacation rentals"
            },
            {
                "id": 121,
                "abbreviation": "rew",
                "name": "wanted: real estate"
            },
            {
                "id": 143,
                "abbreviation": "reo",
                "name": "real estate - by owner"
            },
            {
                "id": 144,
                "abbreviation": "reb",
                "name": "real estate - by broker"
            }
        ]
    },
    {
        "abbreviation": "ccc",
        "name": "community",
        "categories": [
            {
                "id": 3,
                "abbreviation": "com",
                "name": "general community"
            },
            {
                "id": 29,
                "abbreviation": "vol",
                "name": "volunteers"
            },
            {
                "id": 35,
                "abbreviation": "act",
                "name": "activity partners"
            },
            {
                "id": 36,
                "abbreviation": "rid",
                "name": "rideshare"
            },
            {
                "id": 37,
                "abbreviation": "pet",
                "name": "pets"
            },
            {
                "id": 56,
                "abbreviation": "kid",
                "name": "childcare"
            },
            {
                "id": 63,
                "abbreviation": "mis",
                "name": "missed connections"
            },
            {
                "id": 70,
                "abbreviation": "ats",
                "name": "artists"
            },
            {
                "id": 71,
                "abbreviation": "muc",
                "name": "musicians"
            },
            {
                "id": 87,
                "abbreviation": "pol",
                "name": "politics"
            },
            {
                "id": 88,
                "abbreviation": "laf",
                "name": "lost & found"
            },
            {
                "id": 90,
                "abbreviation": "rnr",
                "name": "rants & raves"
            },
            {
                "id": 91,
                "abbreviation": "grp",
                "name": "groups"
            },
            {
                "id": 116,
                "abbreviation": "vnn",
                "name": "local news and views"
            }
        ]
    },
    {
        "abbreviation": "bbb",
        "name": "services",
        "categories": [
            {
                "id": 4,
                "abbreviation": "biz",
                "name": "small biz ads"
            },
            {
                "id": 76,
                "abbreviation": "cps",
                "name": "computer services"
            },
            {
                "id": 77,
                "abbreviation": "crs",
                "name": "creative services"
            },
            {
                "id": 79,
                "abbreviation": "evs",
                "name": "event services"
            },
            {
                "id": 80,
                "abbreviation": "hss",
                "name": "household services"
            },
            {
                "id": 81,
                "abbreviation": "lss",
                "name": "lessons & tutoring"
            },
            {
                "id": 82,
                "abbreviation": "lbs",
                "name": "labor / hauling / moving"
            },
            {
                "id": 83,
                "abbreviation": "sks",
                "name": "skilled trade services"
            },
            {
                "id": 103,
                "abbreviation": "lgs",
                "name": "legal services"
            },
            {
                "id": 104,
                "abbreviation": "fns",
                "name": "financial services"
            },
            {
                "id": 105,
                "abbreviation": "rts",
                "name": "real estate services"
            },
            {
                "id": 106,
                "abbreviation": "aos",
                "name": "automotive services"
            },
            {
                "id": 138,
                "abbreviation": "bts",
                "name": "beauty services"
            },
            {
                "id": 139,
                "abbreviation": "wet",
                "name": "writing / editing / translation"
            },
            {
                "id": 140,
                "abbreviation": "trv",
                "name": "travel/vacation services"
            },
            {
                "id": 154,
                "abbreviation": "fgs",
                "name": "farm & garden services"
            },
            {
                "id": 155,
                "abbreviation": "pas",
                "name": "pet services"
            },
            {
                "id": 156,
                "abbreviation": "mas",
                "name": "marine services"
            },
            {
                "id": 158,
                "abbreviation": "cys",
                "name": "cycle services"
            },
            {
                "id": 207,
                "abbreviation": "cms",
                "name": "cell phone / mobile services"
            },
            {
                "id": 210,
                "abbreviation": "hws",
                "name": "health/wellness services"
            }
        ]
    },
    {
        "abbreviation": "sss",
        "name": "for sale",
        "categories": [
            {
                "id": 5,
                "abbreviation": "for",
                "name": "general for sale - by owner"
            },
            {
                "id": 7,
                "abbreviation": "sys",
                "name": "computers - by owner"
            },
            {
                "id": 20,
                "abbreviation": "wan",
                "name": "wanted - by owner"
            },
            {
                "id": 42,
                "abbreviation": "bar",
                "name": "barter"
            },
            {
                "id": 44,
                "abbreviation": "tix",
                "name": "tickets - by owner"
            },
            {
                "id": 68,
                "abbreviation": "bik",
                "name": "bicycles - by owner"
            },
            {
                "id": 69,
                "abbreviation": "mcy",
                "name": "motorcycles/scooters - by owner"
            },
            {
                "id": 73,
                "abbreviation": "gms",
                "name": "garage & moving sales"
            },
            {
                "id": 92,
                "abbreviation": "bks",
                "name": "books & magazines - by owner"
            },
            {
                "id": 93,
                "abbreviation": "spo",
                "name": "sporting goods - by owner"
            },
            {
                "id": 94,
                "abbreviation": "clo",
                "name": "clothing & accessories - by owner"
            },
            {
                "id": 95,
                "abbreviation": "clt",
                "name": "collectibles - by owner"
            },
            {
                "id": 96,
                "abbreviation": "ele",
                "name": "electronics - by owner"
            },
            {
                "id": 97,
                "abbreviation": "hsh",
                "name": "household items - by owner"
            },
            {
                "id": 98,
                "abbreviation": "msg",
                "name": "musical instruments - by owner"
            },
            {
                "id": 101,
                "abbreviation": "zip",
                "name": "free stuff"
            },
            {
                "id": 107,
                "abbreviation": "bab",
                "name": "baby & kid stuff - by owner"
            }
        ]
    },
    {
        "_note": "Response truncated for documentation purposes"
    }
]
Obtenha todas as seções com suas categorias — TRECHOS DE CÓDIGO

curl --location --request GET 'https://zylalabs.com/api/14944/craigslist+api/39139/get+all+sections+with+their+categories' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Requisição
Busca as postagens de uma área e as retorna 120 por página: id, uuid, título, url, preço, categoria, horário da postagem, localização com coordenadas e imagens. Dependendo da categoria uma postagem também possui quartos e pés quadrados, odômetro e pagamento mensal, compensação, empresa e cargo, ou evento, dia de visitação e datas de venda
Endpoint ID: 39140
GET https://zylalabs.com/api/14944/craigslist+api/39140/search+postings+in+an+area
PARÂMETROS DE ENTRADA

Pesquisar anúncios em uma área — Recursos do endpoint

Objeto Descrição
area Obrigatório Area hostname (e.g. newyork), as returned by /general/areas
category Opcional Section or category abbreviation (e.g. sss for everything for sale, apa for apartments, cta for cars and trucks, jjj for jobs), as returned by /general/categories and /search/category-counts. Defaults to sss.
query Opcional Search term (e.g. iphone)
subarea Opcional Subarea abbreviation to search one part of the area only (e.g. brk), as returned by /general/areas
sort Opcional Order of the results: newest, oldest, price-asc, price-desc, relevance, distance or upcoming. Without it a search with a query is ordered by relevance and any other by newest.
min_price Opcional Lowest price
max_price Opcional Highest price
has_image Opcional Set to true to return only postings with an image
posted_today Opcional Set to true to return only postings from today
titles_only Opcional Set to true to match the query against posting titles only
postal Opcional Postal code to search around (e.g. 10001), together with search_distance
search_distance Opcional Distance from the postal code, in the distance unit of the area (miles or kilometres), up to 1000
filters Opcional Category filters as comma-separated name:value pairs (e.g. min_bedrooms:2,housing_type:1,housing_type:6). Repeat a name to pass several values. Use /search/filters to list the names and values of a category.
page Opcional Page number, 120 postings per page (default 1)

Solicitações gratuitas de teste restantes: 3 de 3.


PARÂMETROS DE ENTRADA

area
category
query
subarea
sort
min_price
max_price
has_image
posted_today
titles_only
postal
search_distance
filters
page
RESPOSTA DE EXEMPLO DA API
JSON
{
    "page": 1,
    "pageSize": 120,
    "totalResults": 92,
    "totalPages": 1,
    "sort": "newest",
    "currency": "USD",
    "postings": [
        {
            "id": 7991026251,
            "uuid": "nuaXtLtq35RqEkDhtaHYUC",
            "title": "New Apple iPhone 7 Black Unlocked Smartphone Mobile Cellphone Phone",
            "url": "https://newyork.craigslist.org/brk/ele/d/brooklyn-new-apple-iphone-black/7991026251.html",
            "price": 140,
            "priceText": "$140",
            "category": {
                "id": 96,
                "abbreviation": "ele",
                "name": "electronics - by owner"
            },
            "postedTimestamp": 1794770214,
            "location": {
                "area": "newyork",
                "subarea": "brk",
                "description": "Brooklyn",
                "neighborhood": null,
                "latitude": 40.6257,
                "longitude": -73.9564
            },
            "images": [
                "https://images.craigslist.org/00L0L_eoetfZCFWQ0_03D03D_600x450.jpg",
                "https://images.craigslist.org/01212_aBurytUVmqT_03X03j_600x450.jpg"
            ]
        },
        {
            "id": 7984399287,
            "uuid": "rTjaZzWLEpBC1NEkmq2u1n",
            "title": "New Apple iPhone 5C Pink Unlocked Smartphone Mobile Cellphone Phone",
            "url": "https://newyork.craigslist.org/brk/mob/d/brooklyn-new-apple-iphone-5c-pink/7984399287.html",
            "price": 100,
            "priceText": "$100",
            "category": {
                "id": 153,
                "abbreviation": "mob",
                "name": "cell phones - by owner"
            },
            "postedTimestamp": 1794770203,
            "location": {
                "area": "newyork",
                "subarea": "brk",
                "description": "Brooklyn",
                "neighborhood": null,
                "latitude": 40.6257,
                "longitude": -73.9564
            },
            "images": [
                "https://images.craigslist.org/00q0q_iZyJKBJuxaC_042041_600x450.jpg",
                "https://images.craigslist.org/00X0X_12SuncYwqwc_03D03D_600x450.jpg",
                "https://images.craigslist.org/00d0d_7WD5FFi0aDl_04Q04Q_600x450.jpg"
            ]
        },
        {
            "id": 7966973025,
            "uuid": "ajQGMh3y7QNajqFJEBa9bG",
            "title": "MSRP $249 - Bowers & Wilkins Pi6 Wireless Earbuds with aptX Adaptive",
            "url": "https://newyork.craigslist.org/brk/ele/d/brooklyn-msrp-bowers-wilkins-pi6/7966973025.html",
            "price": 150,
            "priceText": "$150",
            "category": {
                "id": 96,
                "abbreviation": "ele",
                "name": "electronics - by owner"
            },
            "postedTimestamp": 1794765522,
            "location": {
                "area": "newyork",
                "subarea": "brk",
                "description": "Brooklyn",
                "neighborhood": null,
                "latitude": 40.6179,
                "longitude": -73.9856
            },
            "images": [
                "https://images.craigslist.org/00404_9xbrCljqO2N_08406B_600x450.jpg",
                "https://images.craigslist.org/00303_lJmi3NbVGyC_0ew0b5_600x450.jpg",
                "https://images.craigslist.org/00J0J_jOkBqBe023P_0pV0j8_600x450.jpg",
                "https://images.craigslist.org/00A0A_hUgnyCClDB7_09N09G_600x450.jpg",
                "https://images.craigslist.org/00m0m_gDOLRnZVxer_0qJ0lM_600x450.jpg",
                "https://images.craigslist.org/01111_eOyIpDTRWQ1_08406K_600x450.jpg",
                "https://images.craigslist.org/00606_flnUCptQpkF_0nn0lj_600x450.jpg",
                "https://images.craigslist.org/00606_aFyxndIwAKw_0gm0db_600x450.jpg",
                "https://images.craigslist.org/00j0j_1kHAmrMhLku_0m30fk_600x450.jpg",
                "https://images.craigslist.org/00r0r_bzISh7Gqn4w_0qd0gd_600x450.jpg",
                "https://images.craigslist.org/00d0d_jBRHnxC7dMD_0kT0ln_600x450.jpg",
                "https://images.craigslist.org/00f0f_zP0dcCdi8T_0oc0oc_600x450.jpg",
                "https://images.craigslist.org/00a0a_a6Eua4eNc8P_0oc0oc_600x450.jpg",
                "https://images.craigslist.org/00x0x_79Tg2XS31Sd_0oc0oc_600x450.jpg",
                "https://images.craigslist.org/00C0C_5ZWLcFymIcT_0mn0le_600x450.jpg",
                "https://images.craigslist.org/00y0y_i7G7epsyNAM_0oc0oc_600x450.jpg",
                "https://images.craigslist.org/00A0A_77Kbj6itJV0_0oc0oc_600x450.jpg",
                "https://images.craigslist.org/00o0o_h9Q3lyxiIoD_0he09G_600x450.jpg",
                "https://images.craigslist.org/00G0G_gXgM4o4W1o9_0bl09G_600x450.jpg",
                "https://images.craigslist.org/00000_cXybp9XlesM_0c109G_600x450.jpg",
                "https://images.craigslist.org/00R0R_kpEJidRFW4v_0aB09G_600x450.jpg",
                "https://images.craigslist.org/00s0s_1SKGuGR5E74_0bO09G_600x450.jpg"
            ]
        },
        {
            "id": 7966920420,
            "uuid": "km6Nb2bcH5VtfBJWSXQdzH",
            "title": "MSRP $249 - Bowers & Wilkins Pi6 Wireless Earbuds with aptX Adaptive",
            "url": "https://newyork.craigslist.org/brk/ele/d/brooklyn-msrp-bowers-wilkins-pi6/7966920420.html",
            "price": 150,
            "priceText": "$150",
            "category": {
                "id": 96,
                "abbreviation": "ele",
                "name": "electronics - by owner"
            },
            "postedTimestamp": 1794765521,
            "location": {
                "area": "newyork",
                "subarea": "brk",
                "description": "Brooklyn",
                "neighborhood": null,
                "latitude": 40.6179,
                "longitude": -73.9856
            },
            "images": [
                "https://images.craigslist.org/00303_lJmi3NbVGyC_0ew0b5_600x450.jpg",
                "https://images.craigslist.org/00a0a_kTUQzsJmJ0h_0oc0ix_600x450.jpg",
                "https://images.craigslist.org/00J0J_jOkBqBe023P_0pV0j8_600x450.jpg",
                "https://images.craigslist.org/00m0m_gDOLRnZVxer_0qJ0lM_600x450.jpg",
                "https://images.craigslist.org/00606_aFyxndIwAKw_0gm0db_600x450.jpg",
                "https://images.craigslist.org/00j0j_1kHAmrMhLku_0m30fk_600x450.jpg",
                "https://images.craigslist.org/00r0r_bzISh7Gqn4w_0qd0gd_600x450.jpg",
                "https://images.craigslist.org/00d0d_jBRHnxC7dMD_0kT0ln_600x450.jpg",
                "https://images.craigslist.org/00f0f_zP0dcCdi8T_0oc0oc_600x450.jpg",
                "https://images.craigslist.org/00a0a_a6Eua4eNc8P_0oc0oc_600x450.jpg",
                "https://images.craigslist.org/00x0x_79Tg2XS31Sd_0oc0oc_600x450.jpg",
                "https://images.craigslist.org/00C0C_5ZWLcFymIcT_0mn0le_600x450.jpg",
                "https://images.craigslist.org/00y0y_i7G7epsyNAM_0oc0oc_600x450.jpg",
                "https://images.craigslist.org/00A0A_77Kbj6itJV0_0oc0oc_600x450.jpg",
                "https://images.craigslist.org/00o0o_h9Q3lyxiIoD_0he09G_600x450.jpg",
                "https://images.craigslist.org/00G0G_gXgM4o4W1o9_0bl09G_600x450.jpg",
                "https://images.craigslist.org/00000_cXybp9XlesM_0c109G_600x450.jpg",
                "https://images.craigslist.org/00R0R_kpEJidRFW4v_0aB09G_600x450.jpg",
                "https://images.craigslist.org/00s0s_1SKGuGR5E74_0bO09G_600x450.jpg"
            ]
        },
        {
            "id": 7966727166,
            "uuid": "vEfJEqXHCCx9RXkpE3Nrwb",
            "title": "Sonos One SL Smart Connected Speaker, WiFi-Enabled, Stereo Sound, BLK",
            "url": "https://newyork.craigslist.org/brk/hsh/d/brooklyn-sonos-one-sl-smart-connected/7966727166.html",
            "price": 149,
            "priceText": "$149",
            "category": {
                "id": 97,
                "abbreviation": "hsh",
                "name": "household items - by owner"
            },
            "postedTimestamp": 1794765509,
            "location": {
                "area": "newyork",
                "subarea": "brk",
                "description": "Brooklyn",
                "neighborhood": null,
                "latitude": 40.6179,
                "longitude": -73.9856
            },
            "images": [
                "https://images.craigslist.org/00V0V_8hRpsmzp3k2_0gN0n0_600x450.jpg",
                "https://images.craigslist.org/00H0H_b0bl7jj8kqj_0h00is_600x450.jpg",
                "https://images.craigslist.org/00e0e_jAML8GY5WIf_0dl0in_600x450.jpg",
                "https://images.craigslist.org/00F0F_eOBXdfiFjtD_0iq0it_600x450.jpg",
                "https://images.craigslist.org/00T0T_edriJkamzom_0iJ0jT_600x450.jpg",
                "https://images.craigslist.org/00N0N_29OaavG2R96_0jm0jm_600x450.jpg",
                "https://images.craigslist.org/00p0p_iTLPZI9HaGv_0oc0oc_600x450.jpg"
            ]
        },
        {
            "id": 7965977562,
            "uuid": "2xaopG4yUT7aew3GWPsT89",
            "title": "MSRP $249 - Bowers & Wilkins Pi6 Wireless Earbuds with aptX Adaptive",
            "url": "https://newyork.craigslist.org/brk/ele/d/brooklyn-msrp-bowers-wilkins-pi6/7965977562.html",
            "price": 150,
            "priceText": "$150",
            "category": {
                "id": 96,
                "abbreviation": "ele"
            }
        }
    ],
    "_note": "Response truncated for documentation purposes"
}
Pesquisar anúncios em uma área — TRECHOS DE CÓDIGO

curl --location --request GET 'https://zylalabs.com/api/14944/craigslist+api/39140/search+postings+in+an+area?area=newyork&category=sss&query=iphone&subarea=brk&sort=newest&min_price=100&max_price=1000&has_image=false&posted_today=false&titles_only=false&postal=10001&search_distance=10&filters=condition:10&page=1' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Requisição
Retorna uma postagem classificada na íntegra com seu título preço categoria tempo descrição localização atributos e imagens
Endpoint ID: 39141
GET https://zylalabs.com/api/14944/craigslist+api/39141/get+the+details+of+a+posting
PARÂMETROS DE ENTRADA

Obtenha os detalhes de uma postagem — Recursos do endpoint

Objeto Descrição
posting_uuid Obrigatório Posting uuid, as returned by the posting search

Solicitações gratuitas de teste restantes: 3 de 3.


PARÂMETROS DE ENTRADA

posting_uuid
RESPOSTA DE EXEMPLO DA API
JSON
{
    "id": 8001121092,
    "uuid": "rfuQVnvudem5UTzNxACeUw",
    "title": "2002 Mercedes e320 4matic wagon",
    "url": "https://www.craigslist.org/view/d/brooklyn-2002-mercedes-e320-4matic-wagon/rfuQVnvudem5UTzNxACeUw",
    "price": 13000,
    "priceText": "$13,000",
    "section": "for sale",
    "category": {
        "id": 145,
        "abbreviation": "cto",
        "name": "cars & trucks - by owner"
    },
    "postedTimestamp": 1794771098,
    "updatedTimestamp": 1794771098,
    "repostOf": 7997265462,
    "company": null,
    "hasContactInfo": true,
    "description": "2002 e320 4matic wagon. 85,000 miles. All servicing done on time. Seats 7. No rust. Custom roof rack. Coco mats. 3 keys. No rust. \n\nLast 3 years:\nFront struts\nRear shocks\nAccumulators \nAccelerator pedal sensor\nBrake light switch \nWater pump\nThermostat\nTransmission filter kit\nTires April 2025",
    "descriptionHtml": "2002 e320 4matic wagon. 85,000 miles. All servicing done on time. Seats 7. No rust. Custom roof rack. Coco mats. 3 keys. No rust. <br>\n<br>\nLast 3 years:<br>\nFront struts<br>\nRear shocks<br>\nAccumulators <br>\nAccelerator pedal sensor<br>\nBrake light switch <br>\nWater pump<br>\nThermostat<br>\nTransmission filter kit<br>\nTires April 2025<br>\n",
    "location": {
        "area": "newyork",
        "areaName": "new york",
        "subarea": "brk",
        "subareaName": "brooklyn",
        "description": "Brooklyn",
        "neighborhood": null,
        "address": null,
        "latitude": 40.6732,
        "longitude": -73.9571
    },
    "attributes": [
        {
            "key": "auto_make_model",
            "label": "make/model",
            "value": "mercedes-benz e-class"
        },
        {
            "key": "auto_year",
            "label": "year",
            "value": "2002"
        },
        {
            "key": "condition",
            "label": "condition",
            "value": "excellent"
        },
        {
            "key": "auto_cylinders",
            "label": "cylinders",
            "value": "6 cylinders"
        },
        {
            "key": "auto_drivetrain",
            "label": "drive",
            "value": "4wd"
        },
        {
            "key": "auto_fuel_type",
            "label": "fuel",
            "value": "gas"
        },
        {
            "key": "auto_miles",
            "label": "odometer",
            "value": "85,000"
        },
        {
            "key": "auto_paint",
            "label": "paint color",
            "value": "black"
        },
        {
            "key": "auto_title_status",
            "label": "title status",
            "value": "clean"
        },
        {
            "key": "auto_transmission",
            "label": "transmission",
            "value": "automatic"
        },
        {
            "key": "auto_bodytype",
            "label": "type",
            "value": "wagon"
        }
    ],
    "images": [
        "https://images.craigslist.org/00A0A_3JzYjLZRedZ_0t30CI_1200x900.jpg",
        "https://images.craigslist.org/00g0g_3DJIp10vQah_0CI0t3_1200x900.jpg",
        "https://images.craigslist.org/00101_h9qlaOGkRZ9_0CI0t2_1200x900.jpg",
        "https://images.craigslist.org/00z0z_7ppf1AyEPZ4_0CI0t2_1200x900.jpg",
        "https://images.craigslist.org/00J0J_3OcjMaYKDwc_0CI0t2_1200x900.jpg",
        "https://images.craigslist.org/00M0M_jR9Kdxduu1_0CI0t2_1200x900.jpg",
        "https://images.craigslist.org/00E0E_lRxkfEAZl6L_0t20CI_1200x900.jpg",
        "https://images.craigslist.org/00N0N_hbtsiGoa3va_0t20CI_1200x900.jpg",
        "https://images.craigslist.org/00404_fuVuvcuKtK8_0t20CI_1200x900.jpg",
        "https://images.craigslist.org/00b0b_5tpNIokARHS_0t20CI_1200x900.jpg",
        "https://images.craigslist.org/01111_8pDqr6fmO1H_0t20CI_1200x900.jpg",
        "https://images.craigslist.org/00z0z_ilTSUZcTecM_0CI0t2_1200x900.jpg",
        "https://images.craigslist.org/00s0s_9jaKupkWNpG_0t20CI_1200x900.jpg",
        "https://images.craigslist.org/00e0e_gQhIfLO2TdW_0t20CI_1200x900.jpg",
        "https://images.craigslist.org/00707_dMe5ru6InXw_0CI0t2_1200x900.jpg",
        "https://images.craigslist.org/00l0l_aMi9EubHByE_0CI0t2_1200x900.jpg",
        "https://images.craigslist.org/00B0B_iTw97olJmgR_0CI0t2_1200x900.jpg",
        "https://images.craigslist.org/00X0X_6fD1ILdjxnK_0t20CI_1200x900.jpg",
        "https://images.craigslist.org/00q0q_d6pc0Jt29SO_0t20CI_1200x900.jpg",
        "https://images.craigslist.org/00h0h_4t1IOHUVhHX_0t20CI_1200x900.jpg",
        "https://images.craigslist.org/00M0M_dxrh3gmlHtd_0CI0t2_1200x900.jpg",
        "https://images.craigslist.org/00303_bu2y3mSW3rd_0CI0t2_1200x900.jpg",
        "https://images.craigslist.org/00202_4KbEyRMsZcd_0CI0t2_1200x900.jpg",
        "https://images.craigslist.org/01717_jf76F2ScCo4_0t20CI_1200x900.jpg"
    ]
}
Obtenha os detalhes de uma postagem — TRECHOS DE CÓDIGO

curl --location --request GET 'https://zylalabs.com/api/14944/craigslist+api/39141/get+the+details+of+a+posting?posting_uuid=rfuQVnvudem5UTzNxACeUw' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Requisição
Retorna uma postagem completa, consultada pelo seu endereço do Craigslist em vez de seu uuid. A resposta é a mesma que a de /posting/details
Endpoint ID: 39142
GET https://zylalabs.com/api/14944/craigslist+api/39142/get+the+details+of+a+posting+by+its+url
PARÂMETROS DE ENTRADA

Obtenha os detalhes de uma postagem pelo seu url — Recursos do endpoint

Objeto Descrição
url Obrigatório Address of the posting on Craigslist

Solicitações gratuitas de teste restantes: 3 de 3.


PARÂMETROS DE ENTRADA

url
RESPOSTA DE EXEMPLO DA API
JSON
{
    "id": 8001121092,
    "uuid": "rfuQVnvudem5UTzNxACeUw",
    "title": "2002 Mercedes e320 4matic wagon",
    "url": "https://www.craigslist.org/view/d/brooklyn-2002-mercedes-e320-4matic-wagon/rfuQVnvudem5UTzNxACeUw",
    "price": 13000,
    "priceText": "$13,000",
    "section": "for sale",
    "category": {
        "id": 145,
        "abbreviation": "cto",
        "name": "cars & trucks - by owner"
    },
    "postedTimestamp": 1794771098,
    "updatedTimestamp": 1794771098,
    "repostOf": 7997265462,
    "company": null,
    "hasContactInfo": true,
    "description": "2002 e320 4matic wagon. 85,000 miles. All servicing done on time. Seats 7. No rust. Custom roof rack. Coco mats. 3 keys. No rust. \n\nLast 3 years:\nFront struts\nRear shocks\nAccumulators \nAccelerator pedal sensor\nBrake light switch \nWater pump\nThermostat\nTransmission filter kit\nTires April 2025",
    "descriptionHtml": "2002 e320 4matic wagon. 85,000 miles. All servicing done on time. Seats 7. No rust. Custom roof rack. Coco mats. 3 keys. No rust. <br>\n<br>\nLast 3 years:<br>\nFront struts<br>\nRear shocks<br>\nAccumulators <br>\nAccelerator pedal sensor<br>\nBrake light switch <br>\nWater pump<br>\nThermostat<br>\nTransmission filter kit<br>\nTires April 2025<br>\n",
    "location": {
        "area": "newyork",
        "areaName": "new york",
        "subarea": "brk",
        "subareaName": "brooklyn",
        "description": "Brooklyn",
        "neighborhood": null,
        "address": null,
        "latitude": 40.6732,
        "longitude": -73.9571
    },
    "attributes": [
        {
            "key": "auto_make_model",
            "label": "make/model",
            "value": "mercedes-benz e-class"
        },
        {
            "key": "auto_year",
            "label": "year",
            "value": "2002"
        },
        {
            "key": "condition",
            "label": "condition",
            "value": "excellent"
        },
        {
            "key": "auto_cylinders",
            "label": "cylinders",
            "value": "6 cylinders"
        },
        {
            "key": "auto_drivetrain",
            "label": "drive",
            "value": "4wd"
        },
        {
            "key": "auto_fuel_type",
            "label": "fuel",
            "value": "gas"
        },
        {
            "key": "auto_miles",
            "label": "odometer",
            "value": "85,000"
        },
        {
            "key": "auto_paint",
            "label": "paint color",
            "value": "black"
        },
        {
            "key": "auto_title_status",
            "label": "title status",
            "value": "clean"
        },
        {
            "key": "auto_transmission",
            "label": "transmission",
            "value": "automatic"
        },
        {
            "key": "auto_bodytype",
            "label": "type",
            "value": "wagon"
        }
    ],
    "images": [
        "https://images.craigslist.org/00A0A_3JzYjLZRedZ_0t30CI_1200x900.jpg",
        "https://images.craigslist.org/00g0g_3DJIp10vQah_0CI0t3_1200x900.jpg",
        "https://images.craigslist.org/00101_h9qlaOGkRZ9_0CI0t2_1200x900.jpg",
        "https://images.craigslist.org/00z0z_7ppf1AyEPZ4_0CI0t2_1200x900.jpg",
        "https://images.craigslist.org/00J0J_3OcjMaYKDwc_0CI0t2_1200x900.jpg",
        "https://images.craigslist.org/00M0M_jR9Kdxduu1_0CI0t2_1200x900.jpg",
        "https://images.craigslist.org/00E0E_lRxkfEAZl6L_0t20CI_1200x900.jpg",
        "https://images.craigslist.org/00N0N_hbtsiGoa3va_0t20CI_1200x900.jpg",
        "https://images.craigslist.org/00404_fuVuvcuKtK8_0t20CI_1200x900.jpg",
        "https://images.craigslist.org/00b0b_5tpNIokARHS_0t20CI_1200x900.jpg",
        "https://images.craigslist.org/01111_8pDqr6fmO1H_0t20CI_1200x900.jpg",
        "https://images.craigslist.org/00z0z_ilTSUZcTecM_0CI0t2_1200x900.jpg",
        "https://images.craigslist.org/00s0s_9jaKupkWNpG_0t20CI_1200x900.jpg",
        "https://images.craigslist.org/00e0e_gQhIfLO2TdW_0t20CI_1200x900.jpg",
        "https://images.craigslist.org/00707_dMe5ru6InXw_0CI0t2_1200x900.jpg",
        "https://images.craigslist.org/00l0l_aMi9EubHByE_0CI0t2_1200x900.jpg",
        "https://images.craigslist.org/00B0B_iTw97olJmgR_0CI0t2_1200x900.jpg",
        "https://images.craigslist.org/00X0X_6fD1ILdjxnK_0t20CI_1200x900.jpg",
        "https://images.craigslist.org/00q0q_d6pc0Jt29SO_0t20CI_1200x900.jpg",
        "https://images.craigslist.org/00h0h_4t1IOHUVhHX_0t20CI_1200x900.jpg",
        "https://images.craigslist.org/00M0M_dxrh3gmlHtd_0CI0t2_1200x900.jpg",
        "https://images.craigslist.org/00303_bu2y3mSW3rd_0CI0t2_1200x900.jpg",
        "https://images.craigslist.org/00202_4KbEyRMsZcd_0CI0t2_1200x900.jpg",
        "https://images.craigslist.org/01717_jf76F2ScCo4_0t20CI_1200x900.jpg"
    ]
}
Obtenha os detalhes de uma postagem pelo seu url — TRECHOS DE CÓDIGO

curl --location --request GET 'https://zylalabs.com/api/14944/craigslist+api/39142/get+the+details+of+a+posting+by+its+url?url=https://newyork.craigslist.org/brk/cto/d/brooklyn-2002-mercedes-e320-4matic-wagon/8001121092.html' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Requisição
Retorna os termos de busca que o Craigslist sugere para o início de uma consulta Com o tipo make-model ele sugere marcas e modelos de veículos em vez disso que é o que o filtro auto_make_model utiliza
Endpoint ID: 39143
GET https://zylalabs.com/api/14944/craigslist+api/39143/get+suggestions+for+a+search+term
PARÂMETROS DE ENTRADA

Obtenha sugestões para um termo de busca — Recursos do endpoint

Objeto Descrição
query Obrigatório Beginning of the search term (e.g. iph)
type Opcional What to suggest: search for search terms (default) or make-model for vehicle makes and models

Solicitações gratuitas de teste restantes: 3 de 3.


PARÂMETROS DE ENTRADA

query
type
RESPOSTA DE EXEMPLO DA API
JSON
[
    "iphone",
    "epiphone",
    "iphone buyer",
    "iphone 16",
    "iphone 15",
    "iphone 14",
    "iphone 13",
    "iphone 12",
    "iphone 11",
    "iphone 16 pro max",
    "iphones",
    "iphone 14 pro max"
]
Obtenha sugestões para um termo de busca — TRECHOS DE CÓDIGO

curl --location --request GET 'https://zylalabs.com/api/14944/craigslist+api/39143/get+suggestions+for+a+search+term?query=iph&type=search' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Requisição
Retorna quantas postagens correspondem a um termo de pesquisa em uma área, por seção e por categoria. As abreviações são aquelas que /posting/search considera como sua categoria
Endpoint ID: 39144
GET https://zylalabs.com/api/14944/craigslist+api/39144/get+the+number+of+results+per+category
PARÂMETROS DE ENTRADA

Obtenha o número de resultados por categoria — Recursos do endpoint

Objeto Descrição
area Obrigatório Area hostname (e.g. newyork), as returned by /general/areas
query Obrigatório Search term (e.g. iphone)

Solicitações gratuitas de teste restantes: 3 de 3.


PARÂMETROS DE ENTRADA

area
query
RESPOSTA DE EXEMPLO DA API
JSON
[
    {
        "abbreviation": "ccc",
        "name": "community",
        "count": 2,
        "categories": [
            {
                "abbreviation": "laf",
                "name": "lost & found",
                "count": 2
            }
        ]
    },
    {
        "abbreviation": "hhh",
        "name": "housing",
        "count": 3,
        "categories": [
            {
                "abbreviation": "sha",
                "name": "wanted: room/share",
                "count": 1
            },
            {
                "abbreviation": "sub",
                "name": "sublets & temporary",
                "count": 2
            }
        ]
    },
    {
        "abbreviation": "jjj",
        "name": "jobs",
        "count": 55,
        "categories": [
            {
                "abbreviation": "mar",
                "name": "marketing/advertising/pr",
                "count": 1
            },
            {
                "abbreviation": "tfr",
                "name": "tv/film/video/radio",
                "count": 1
            },
            {
                "abbreviation": "med",
                "name": "art/media/design",
                "count": 2
            },
            {
                "abbreviation": "fbh",
                "name": "food/beverage/hospitality",
                "count": 2
            },
            {
                "abbreviation": "lab",
                "name": "general labor",
                "count": 1
            },
            {
                "abbreviation": "tch",
                "name": "technical support",
                "count": 2
            },
            {
                "abbreviation": "etc",
                "name": "et cetera",
                "count": 2
            },
            {
                "abbreviation": "trp",
                "name": "transportation",
                "count": 43
            },
            {
                "abbreviation": "csr",
                "name": "customer service",
                "count": 1
            }
        ]
    },
    {
        "abbreviation": "bbb",
        "name": "services",
        "count": 72,
        "categories": [
            {
                "abbreviation": "fns",
                "name": "financial services",
                "count": 1
            },
            {
                "abbreviation": "crs",
                "name": "creative services",
                "count": 5
            },
            {
                "abbreviation": "cms",
                "name": "cell phone / mobile services",
                "count": 9
            },
            {
                "abbreviation": "cps",
                "name": "computer services",
                "count": 49
            },
            {
                "abbreviation": "biz",
                "name": "small biz ads",
                "count": 7
            },
            {
                "abbreviation": "aos",
                "name": "automotive services",
                "count": 1
            }
        ]
    },
    {
        "abbreviation": "sss",
        "name": "for sale",
        "count": 1215,
        "categories": [
            {
                "abbreviation": "ppa",
                "name": "appliances",
                "count": 5
            },
            {
                "abbreviation": "ata",
                "name": "antiques",
                "count": 2
            },
            {
                "abbreviation": "foa",
                "name": "general for sale",
                "count": 26
            },
            {
                "abbreviation": "gra",
                "name": "farm & garden",
                "count": 3
            },
            {
                "abbreviation": "bka",
                "name": "books & magazines",
                "count": 1
            },
            {
                "abbreviation": "vga",
                "name": "video gaming",
                "count": 2
            },
            {
                "abbreviation": "cla",
                "name": "clothing & accessories",
                "count": 39
            },
            {
                "abbreviation": "ema",
                "name": "cds / dvds / vhs",
                "count": 1
            },
            {
                "abbreviation": "hsa",
                "name": "household items",
                "count": 63
            },
            {
                "abbreviation": "ela",
                "name": "electronics",
                "count": 368
            },
            {
                "abbreviation": "jwa",
                "name": "jewelry",
                "count": 3
            },
            {
                "abbreviation": "pha",
                "name": "photo/video",
                "count": 6
            },
            {
                "abbreviation": "waa",
                "name": "wanted",
                "count": 36
            },
            {
                "abbreviation": "wta",
                "name": "auto wheels & tires",
                "count": 1
            },
            {
                "abbreviation": "fua",
                "name": "furniture",
                "count": 3
            },
            {
                "abbreviation": "baa",
                "name": "baby & kid stuff",
                "count": 1
            },
            {
                "abbreviation": "mca",
                "name": "motorcycles/scooters",
                "count": 1
            },
            {
                "abbreviation": "cta",
                "name": "cars & trucks",
                "count": 118
            },
            {
                "abbreviation": "sya",
                "name": "computers",
                "count": 10
            },
            {
                "abbreviation": "bia",
                "name": "bicycles",
                "count": 3
            },
            {
                "abbreviation": "sga",
                "name": "sporting goods",
                "count": 1
            },
            {
                "abbreviation": "moa",
                "name": "cell phones",
                "count": 490
            },
            {
                "abbreviation": "bfa",
                "name": "business",
                "count": 10
            },
            {
                "abbreviation": "ara",
                "name": "arts & crafts",
                "count": 8
            },
            {
                "abbreviation": "tla",
                "name": "tools",
                "count": 1
            },
            {
                "abbreviation": "cba",
                "name": "collectibles",
                "count": 2
            },
            {
                "abbreviation": "msa",
                "name": "musical instruments",
                "count": 6
            },
            {
                "abbreviation": "syp",
                "name": "computer parts",
                "count": 3
            },
            {
                "abbreviation": "mpa",
                "name": "motorcycle parts & accessories",
                "count": 1
            },
            {
                "abbreviation": "haa",
                "name": "health and beauty",
                "count": 1
            }
        ]
    },
    {
        "abbreviation": "ggg",
        "name": "gigs",
        "count": 42,
        "categories": [
            {
                "abbreviation": "lbg",
                "name": "labor gigs",
                "count": 21
            },
            {
                "abbreviation": "cpg",
                "name": "computer gigs",
                "count": 1
            },
            {
                "abbreviation": "cwg",
                "name": "crew gigs",
                "count": 5
            },
            {
                "abbreviation": "crg",
                "name": "creative gigs",
                "count": 2
            },
            {
                "abbreviation": "evg",
                "name": "event gigs",
                "count": 2
            },
            {
                "abbreviation": "tlg",
                "name": "talent gigs",
                "count": 2
            },
            {
                "abbreviation": "dmg",
                "name": "domestic gigs",
                "count": 9
            }
        ]
    }
]
Obtenha o número de resultados por categoria — TRECHOS DE CÓDIGO

curl --location --request GET 'https://zylalabs.com/api/14944/craigslist+api/39144/get+the+number+of+results+per+category?area=newyork&query=iphone' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Requisição
Retorna os filtros pelos quais uma seção ou categoria pode ser pesquisada: nome, rótulo, tipo (booleano, número, seleção, múltiplo ou texto) e os valores aceitos. Eles vão para o parâmetro de filtros de /posting/search como pares nome:valor
Endpoint ID: 39145
GET https://zylalabs.com/api/14944/craigslist+api/39145/get+the+filters+of+a+category
PARÂMETROS DE ENTRADA

Obter os filtros de uma categoria — Recursos do endpoint

Objeto Descrição
category Obrigatório Section or category abbreviation (e.g. apa for apartments, cta for cars and trucks), as returned by /general/categories

Solicitações gratuitas de teste restantes: 3 de 3.


PARÂMETROS DE ENTRADA

category
RESPOSTA DE EXEMPLO DA API
JSON
[
    {
        "name": "min_bedrooms",
        "label": "min bedrooms",
        "type": "number",
        "options": []
    },
    {
        "name": "max_bedrooms",
        "label": "max bedrooms",
        "type": "number",
        "options": []
    },
    {
        "name": "min_bathrooms",
        "label": "min bathrooms",
        "type": "number",
        "options": []
    },
    {
        "name": "max_bathrooms",
        "label": "max bathrooms",
        "type": "number",
        "options": []
    },
    {
        "name": "minSqft",
        "label": "min sq ft",
        "type": "number",
        "options": []
    },
    {
        "name": "maxSqft",
        "label": "max sq ft",
        "type": "number",
        "options": []
    },
    {
        "name": "pets_cat",
        "label": "cats ok",
        "type": "boolean",
        "options": [
            {
                "value": "1",
                "label": "cats ok"
            }
        ]
    },
    {
        "name": "pets_dog",
        "label": "dogs ok",
        "type": "boolean",
        "options": [
            {
                "value": "1",
                "label": "dogs ok"
            }
        ]
    },
    {
        "name": "is_furnished",
        "label": "furnished",
        "type": "boolean",
        "options": [
            {
                "value": "1",
                "label": "furnished"
            }
        ]
    },
    {
        "name": "no_smoking",
        "label": "no smoking",
        "type": "boolean",
        "options": [
            {
                "value": "1",
                "label": "no smoking"
            }
        ]
    },
    {
        "name": "wheelchaccess",
        "label": "wheelchair accessible",
        "type": "boolean",
        "options": [
            {
                "value": "1",
                "label": "wheelchair accessible"
            }
        ]
    },
    {
        "name": "airconditioning",
        "label": "air conditioning",
        "type": "boolean",
        "options": [
            {
                "value": "1",
                "label": "air conditioning"
            }
        ]
    },
    {
        "name": "ev_charging",
        "label": "EV charging",
        "type": "boolean",
        "options": [
            {
                "value": "1",
                "label": "EV charging"
            }
        ]
    },
    {
        "name": "broker_fee",
        "label": "no broker fee",
        "type": "boolean",
        "options": [
            {
                "value": "1",
                "label": "no broker fee"
            }
        ]
    },
    {
        "name": "application_fee",
        "label": "no application fee",
        "type": "boolean",
        "options": [
            {
                "value": "1",
                "label": "no application fee"
            }
        ]
    },
    {
        "name": "rent_period",
        "label": "rent period",
        "type": "multi",
        "options": [
            {
                "value": "1",
                "label": "daily"
            },
            {
                "value": "2",
                "label": "weekly"
            },
            {
                "value": "3",
                "label": "monthly"
            }
        ]
    },
    {
        "name": "availabilityMode",
        "label": "availability",
        "type": "select",
        "options": [
            {
                "value": "1",
                "label": "within 30 days"
            },
            {
                "value": "2",
                "label": "beyond 30 days"
            }
        ]
    },
    {
        "name": "housing_type",
        "label": "housing type",
        "type": "multi",
        "options": [
            {
                "value": "1",
                "label": "apartment"
            },
            {
                "value": "2",
                "label": "condo"
            },
            {
                "value": "3",
                "label": "cottage/cabin"
            },
            {
                "value": "4",
                "label": "duplex"
            },
            {
                "value": "5",
                "label": "flat"
            },
            {
                "value": "6",
                "label": "house"
            },
            {
                "value": "7",
                "label": "in-law"
            },
            {
                "value": "8",
                "label": "loft"
            },
            {
                "value": "9",
                "label": "townhouse"
            },
            {
                "value": "10",
                "label": "manufactured"
            },
            {
                "value": "11",
                "label": "assisted living"
            },
            {
                "value": "12",
                "label": "land"
            }
        ]
    },
    {
        "name": "laundry",
        "label": "laundry",
        "type": "multi",
        "options": [
            {
                "value": "1",
                "label": "w/d in unit"
            },
            {
                "value": "4",
                "label": "w/d hookups"
            },
            {
                "value": "2",
                "label": "laundry in bldg"
            },
            {
                "value": "3",
                "label": "laundry on site"
            },
            {
                "value": "5",
                "label": "no laundry on site"
            }
        ]
    },
    {
        "name": "parking",
        "label": "parking",
        "type": "multi",
        "options": [
            {
                "value": "1",
                "label": "carport"
            },
            {
                "value": "2",
                "label": "attached garage"
            },
            {
                "value": "3",
                "label": "detached garage"
            },
            {
                "value": "4",
                "label": "off-street parking"
            },
            {
                "value": "5",
                "label": "street parking"
            },
            {
                "value": "6",
                "label": "valet parking"
            },
            {
                "value": "7",
                "label": "no parking"
            }
        ]
    }
]
Obter os filtros de uma categoria — TRECHOS DE CÓDIGO

curl --location --request GET 'https://zylalabs.com/api/14944/craigslist+api/39145/get+the+filters+of+a+category?category=apa' --header 'Authorization: Bearer YOUR_API_KEY' 


    

Chave de acesso à API e autenticação

Após se cadastrar, cada desenvolvedor recebe uma chave de acesso à API pessoal, uma combinação única de letras e dígitos para acessar nosso endpoint de API. Para autenticar com a Craigslist API basta incluir seu token Bearer no cabeçalho Authorization.

Cabeçalhos
Cabeçalho Descrição
Authorization Obrigatório Deve ser Bearer access_key. Veja "Sua chave de acesso à API" acima quando você estiver inscrito.

Sem compromisso de longo prazo. Faça upgrade, downgrade ou cancele a qualquer momento. O teste gratuito inclui até 50 requisições.

(Economize 2 meses com cobrança anual 🎉)

A partir de
$10.000/Ano


  • Volume personalizado
  • Limite de taxa personalizado
  • Suporte ao cliente especializado
  • Monitoramento de API em tempo real

Visão Geral

Anúncios classificados em todas as seções: para venda, habitação, empregos, trabalhos temporários, serviços, comunidade, eventos e currículos, com filtros de área, preço e categoria, detalhes completos do anúncio, contagens de áreas e categorias

Craigslist API FAQs

A API do Craigslist oferece acesso a anúncios classificados em todas as principais seções, incluindo para venda, habitação, empregos, trabalhos temporários, serviços, comunidade, eventos e currículos

A API suporta a filtragem de anúncios classificados por área preço e categoria permitindo que os usuários restrinjam os resultados de busca a locais específicos faixas de preço e tipos de anúncios

Os detalhes completos da postagem incluem o título, descrição, preço onde se aplica, localização com endereço e coordenadas, imagens e cada atributo de categoria como condição, marca, modelo, odômetro, quartos ou compensação

Sim a API do Craigslist pode fornecer contagens de postagens disponíveis permitindo que os usuários avaliem o volume de listagens dentro de áreas geográficas e categorias específicas

Casos de uso práticos incluem a construção de aplicações personalizadas de busca de imóveis, quadros de empregos agregando listagens, ferramentas de comparação de preços para itens, plataformas de descoberta de eventos e mercados de serviços

Ao fornecer acesso a listagens categorizadas e filtradas, junto com contagens, a API possibilita a análise de itens populares, mercados de trabalho, disponibilidade de habitação e demandas de serviços em regiões específicas

A proposta de valor central reside em sua capacidade de acessar programaticamente um vasto e diversificado conjunto de dados de anúncios classificados, permitindo a criação de aplicativos especializados, análise de dados e automação de tarefas relacionadas ao comércio e serviços locais

Perguntas Frequentes Gerais

O Zyla API Hub é como uma grande loja de APIs, onde você pode encontrar milhares delas em um só lugar. Também oferecemos suporte dedicado e monitoramento em tempo real de todas as APIs. Após se cadastrar, você pode escolher quais APIs deseja usar. Lembre-se apenas de que cada API precisa de sua própria assinatura. Mas se você se inscrever em várias, usará a mesma chave para todas elas, facilitando as coisas para você.
Os preços são listados em USD (Dólar Americano), EUR (Euro), CAD (Dólar Canadense), AUD (Dólar Australiano) e GBP (Libra Esterlina). Aceitamos todos os principais cartões de débito e crédito. Nosso sistema de pagamento usa a mais recente tecnologia de segurança e é operado pela Stripe, uma das empresas de pagamento mais confiáveis do mundo. Se tiver problemas para pagar com cartão, entre em contato conosco em [email protected]

Além disso, se você já tiver uma assinatura ativa em qualquer uma dessas moedas (USD, EUR, CAD, AUD, GBP), essa moeda será mantida para assinaturas subsequentes. Você pode alterar a moeda a qualquer momento, desde que não tenha assinaturas ativas.
A moeda local exibida na página de preços é baseada no país do seu endereço IP e é fornecida apenas como referência. Os preços reais são em USD (Dólar Americano). Ao efetuar o pagamento, a cobrança aparecerá no extrato do seu cartão em USD, mesmo que você veja o valor equivalente em sua moeda local em nosso site. Isso significa que você não pode pagar diretamente com sua moeda local.
Ocasionalmente, o banco pode recusar a cobrança devido às configurações de proteção contra fraude. Sugerimos contatar seu banco inicialmente para verificar se estão bloqueando nossas cobranças. Você também pode acessar o Portal de Cobrança e alterar o cartão associado para realizar o pagamento. Se isso não funcionar e precisar de mais ajuda, entre em contato com nossa equipe em [email protected]
Os preços são determinados por uma assinatura recorrente mensal ou anual, dependendo do plano escolhido.
As chamadas de API são descontadas do seu plano com base nas requisições bem-sucedidas. Cada plano possui um número específico de chamadas por mês. Apenas chamadas bem-sucedidas, indicadas por uma resposta com Status 200, serão contabilizadas, garantindo que falhas não afetem sua cota mensal.
O Zyla API Hub funciona com um sistema de assinatura mensal recorrente. Seu ciclo de cobrança começa no dia em que você compra um dos planos pagos e será renovado no mesmo dia do mês seguinte. Portanto, cancele sua assinatura com antecedência se quiser evitar cobranças futuras.
Para fazer upgrade do seu plano atual, acesse a página de preços da API e selecione o novo plano desejado. O upgrade é instantâneo, permitindo aproveitar imediatamente os recursos do novo plano. Observe que as chamadas restantes do plano anterior não serão transferidas; você será cobrado pelo valor integral do novo plano.
Para verificar quantas chamadas de API restam para o mês atual, consulte o campo 'X-Zyla-API-Calls-Monthly-Remaining' no cabeçalho da resposta. Por exemplo, se seu plano permite 1.000 requisições por mês e você usou 100, este campo no cabeçalho da resposta indicará 900 chamadas restantes.
Para ver o número máximo de requisições de API que seu plano permite, verifique o cabeçalho de resposta 'X-Zyla-RateLimit-Limit'. Por exemplo, se seu plano inclui 1.000 requisições por mês, este cabeçalho exibirá 1.000.
O cabeçalho 'X-Zyla-RateLimit-Reset' mostra o número de segundos até seu limite de taxa ser redefinido. Isso informa quando sua contagem de requisições começará do zero. Por exemplo, se exibir 3.600, significa que restam 3.600 segundos até o limite ser redefinido.
Sim, você pode cancelar seu plano a qualquer momento acessando sua conta e selecionando a opção de cancelamento na página de Cobrança. Observe que upgrades, downgrades e cancelamentos têm efeito imediato. Além disso, após o cancelamento, você não terá mais acesso ao serviço, mesmo que ainda tenha chamadas restantes na sua cota.
Para oferecer a oportunidade de experimentar nossas APIs sem compromisso, oferecemos um teste gratuito de 7 dias que permite realizar até 50 chamadas de API sem custo. Esse teste pode ser usado apenas uma vez; recomendamos aplicá-lo à API que mais interessa. Embora a maioria das APIs ofereça teste gratuito, algumas podem não oferecer. O teste termina após 7 dias ou quando você atingir 50 requisições, o que ocorrer primeiro. Se atingir o limite, será necessário "Iniciar seu plano pago" para continuar. Você encontra esse botão no perfil em Assinatura -> Escolha a API -> aba Preços. Se não cancelar até o 7º dia, sua assinatura será cobrada automaticamente, liberando todas as chamadas do plano.
Após 7 dias, será cobrado o valor total do plano ao qual você estava inscrito durante o teste. Portanto, é importante cancelar antes do término do período. Solicitações de reembolso por esquecimento de cancelamento não são aceitas.
Ao assinar um teste gratuito de API, você pode fazer até 50 chamadas. Se desejar fazer chamadas adicionais além desse limite, a API solicitará que você "Inicie seu plano pago". Você encontra o botão no perfil em Assinatura -> Escolha a API -> aba Preços.
As Ordens de Pagamento são processadas entre os dias 20 e 30 de cada mês. Se você enviar sua solicitação antes do dia 20, seu pagamento será processado dentro desse período.
Você pode nos contatar via chat para receber assistência imediata. Estamos online de 8h às 17h (EST). Se nos contatar após esse horário, retornaremos o mais rápido possível. Além disso, você pode enviar um e-mail para [email protected]