克雷格列表 API

API ID 14944

每个版块的分类信息:出售房屋工作活动服务社区事件和简历,带有地区价格和类别过滤器,完整的发布详细信息、地区和类别计数

API 文档

端点

请求
返回每个Craigslist地区(本地站点)及其ID 主机名 名称 国家 区域 坐标 时区和子区域 区域主机名和子区域缩写是搜索端点所需的
Endpoint ID: 39137
GET https://zylalabs.com/api/14944/craigslist+api/39137/get+all+areas+with+their+subareas
输入参数

获取所有区域及其子区域 — 端点功能

对象 描述
country 可选 Two-letter country code to list the areas of one country only (e.g. US)

剩余免费测试请求:3 / 3。


输入参数

country
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"
    }
]
获取所有区域及其子区域 — 代码片段

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' 


    
请求
返回覆盖一对坐标的Craigslist区域和子区域,以及该点的城市、地区、国家和邮政编码
Endpoint ID: 39138
GET https://zylalabs.com/api/14944/craigslist+api/39138/get+the+area+that+covers+given+coordinates
输入参数

获取覆盖给定坐标的区域 — 端点功能

对象 描述
latitude 必需 Latitude of the point (e.g. 40.7128)
longitude 必需 Longitude of the point (e.g. -74.0060)

剩余免费测试请求:3 / 3。


输入参数

latitude
longitude
API 示例响应
JSON
{
    "area": "newyork",
    "areaId": 3,
    "subarea": "que",
    "city": "New York",
    "region": "NY",
    "country": "US",
    "postal": "10156",
    "latitude": 40.714,
    "longitude": -74.007
}
获取覆盖给定坐标的区域 — 代码片段

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' 


    
请求
返回Craigslist的各个部分(出售、住房、工作、演出、服务、社区、活动、简历)以及每个部分的类别:id、缩写和名称。在请求类别的任何地方,部分和类别缩写都是可以接受的
Endpoint ID: 39139
GET https://zylalabs.com/api/14944/craigslist+api/39139/get+all+sections+with+their+categories
输入参数

剩余免费测试请求:3 / 3。

此端点不需要任何输入参数。

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"
    }
]
获取所有部分及其类别 — 代码片段

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


    
请求
搜索一个地区的帖子并每页返回120个:id,uuid,标题,网址,价格,类别,发布时间,带坐标和图片的位置。根据类别,帖子还包含卧室和平方英尺,里程表和每月付款,补偿,公司和职位名称,或者事件,开放日和销售日期
Endpoint ID: 39140
GET https://zylalabs.com/api/14944/craigslist+api/39140/search+postings+in+an+area
输入参数

在一个地区搜索职位发布 — 端点功能

对象 描述
area 必需 Area hostname (e.g. newyork), as returned by /general/areas
category 可选 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 可选 Search term (e.g. iphone)
subarea 可选 Subarea abbreviation to search one part of the area only (e.g. brk), as returned by /general/areas
sort 可选 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 可选 Lowest price
max_price 可选 Highest price
has_image 可选 Set to true to return only postings with an image
posted_today 可选 Set to true to return only postings from today
titles_only 可选 Set to true to match the query against posting titles only
postal 可选 Postal code to search around (e.g. 10001), together with search_distance
search_distance 可选 Distance from the postal code, in the distance unit of the area (miles or kilometres), up to 1000
filters 可选 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 可选 Page number, 120 postings per page (default 1)

剩余免费测试请求:3 / 3。


输入参数

area
category
query
subarea
sort
min_price
max_price
has_image
posted_today
titles_only
postal
search_distance
filters
page
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"
}
在一个地区搜索职位发布 — 代码片段

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' 


    
请求
返回一个分类帖子,包含其标题、价格、类别、时间、描述、位置、属性和图片的完整信息
Endpoint ID: 39141
GET https://zylalabs.com/api/14944/craigslist+api/39141/get+the+details+of+a+posting
输入参数

获取职位的详细信息 — 端点功能

对象 描述
posting_uuid 必需 Posting uuid, as returned by the posting search

剩余免费测试请求:3 / 3。


输入参数

posting_uuid
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"
    ]
}
获取职位的详细信息 — 代码片段

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' 


    
请求
通过其Craigslist地址而不是uuid返回一个完整的帖子。响应与/posting/details的响应相同
Endpoint ID: 39142
GET https://zylalabs.com/api/14944/craigslist+api/39142/get+the+details+of+a+posting+by+its+url
输入参数

通过其网址获取帖子详细信息 — 端点功能

对象 描述
url 必需 Address of the posting on Craigslist

剩余免费测试请求:3 / 3。


输入参数

url
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"
    ]
}
通过其网址获取帖子详细信息 — 代码片段

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' 


    
请求
返回 Craigslist 建议的查询开始时的搜索词。对于制造商-型号类型,它建议车辆的制造商和型号,正是 auto_make_model 过滤器所需要的
Endpoint ID: 39143
GET https://zylalabs.com/api/14944/craigslist+api/39143/get+suggestions+for+a+search+term
输入参数

获取搜索词的建议 — 端点功能

对象 描述
query 必需 Beginning of the search term (e.g. iph)
type 可选 What to suggest: search for search terms (default) or make-model for vehicle makes and models

剩余免费测试请求:3 / 3。


输入参数

query
type
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"
]
获取搜索词的建议 — 代码片段

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' 


    
请求
返回在某个地区每个部分和每个类别中与搜索词匹配的发布数量 缩写是/posting/search作为其类别所使用的那些
Endpoint ID: 39144
GET https://zylalabs.com/api/14944/craigslist+api/39144/get+the+number+of+results+per+category
输入参数

获取每个类别的结果数量 — 端点功能

对象 描述
area 必需 Area hostname (e.g. newyork), as returned by /general/areas
query 必需 Search term (e.g. iphone)

剩余免费测试请求:3 / 3。


输入参数

area
query
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
            }
        ]
    }
]
获取每个类别的结果数量 — 代码片段

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' 


    
请求
返回一个部分或类别可搜索的过滤器:名称、标签、类型(布尔值、数字、选择、多选或文本)及接受的值。它们以名称:值对的形式进入/posting/search的过滤器参数
Endpoint ID: 39145
GET https://zylalabs.com/api/14944/craigslist+api/39145/get+the+filters+of+a+category
输入参数

获取类别的过滤器 — 端点功能

对象 描述
category 必需 Section or category abbreviation (e.g. apa for apartments, cta for cars and trucks), as returned by /general/categories

剩余免费测试请求:3 / 3。


输入参数

category
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"
            }
        ]
    }
]
获取类别的过滤器 — 代码片段

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' 


    

API 访问密钥和身份验证

注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 克雷格列表 API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。

标头
标头 描述
授权 必需 应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。

无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。

(年度计费可节省 2 个月 🎉)

起价
$10,000/年


  • 自定义数量
  • 自定义速率限制
  • 专业客户支持
  • 实时 API 监控

概览

每个版块的分类信息:出售 房屋 职位 活动 服务 社区 事件 和简历 具备区域 价格 和类别筛选器 完整的帖子详情 区域和类别计数

克雷格列表 API FAQs

Craigslist API 提供对所有主要分类的广告发布的访问,包括出售、住房、工作、兼职、服务、社区、活动和简历

该API支持按地区、价格和类别筛选分类帖子,允许用户将搜索结果缩小到特定位置、价格范围和列表类型

完整的发布详情包括标题 描述 价格(如果适用) 位置及地址和坐标 图片 以及每个类别属性如状态 品牌 型号 里程数 卧室或补偿

是的 Craigslist API 可以提供可用帖子的数量 使用户能够评估特定地理区域和类别内的列表量

实际使用案例包括构建定制的房地产搜索应用程序 汇总招聘信息的职位板 物品价格比较工具 活动发现平台和服务市场

通过提供分类和筛选后的列表,以及计数,API 能够分析特定地区的热门项目、就业市场、住房供应和服务需求

核心价值主张在于能够程序化地访问一个庞大而多样化的分类广告数据集, enabling the creation of specialized applications, data analysis, and automation of tasks related to local commerce and services

一般常见问题

Zyla API Hub 就像一个大型 API 商店,您可以在一个地方找到数千个 API。我们还为所有 API 提供专门支持和实时监控。注册后,您可以选择要使用的 API。请记住,每个 API 都需要自己的订阅。但如果您订阅多个 API,您将为所有这些 API 使用相同的密钥,使事情变得更简单。
价格以 USD(美元)、EUR(欧元)、CAD(加元)、AUD(澳元)和 GBP(英镑)列出。我们接受所有主要的借记卡和信用卡。我们的支付系统使用最新的安全技术,由 Stripe 提供支持,Stripe 是世界上最可靠的支付公司之一。如果您在使用卡片付款时遇到任何问题,请通过 [email protected]

此外,如果您已经以这些货币中的任何一种(USD、EUR、CAD、AUD、GBP)拥有有效订阅,该货币将保留用于后续订阅。只要您没有任何有效订阅,您可以随时更改货币。
定价页面上显示的本地货币基于您 IP 地址的国家/地区,仅供参考。实际价格以 USD(美元)为单位。当您付款时,即使您在我们的网站上看到以本地货币显示的等值金额,您的卡片对账单上也会以美元显示费用。这意味着您不能直接使用本地货币付款。
有时,银行可能会因其欺诈保护设置而拒绝收费。我们建议您首先联系您的银行,检查他们是否阻止了我们的收费。此外,您可以访问账单门户并更改关联的卡片以进行付款。如果这些方法不起作用并且您需要进一步帮助,请通过 [email protected]
价格由月度或年度订阅决定,具体取决于所选计划。
API 调用根据成功请求从您的计划中扣除。每个计划都包含您每月可以进行的特定数量的调用。只有成功的调用(由状态 200 响应指示)才会计入您的总数。这确保失败或不完整的请求不会影响您的月度配额。
Zyla API Hub 采用月度订阅系统。您的计费周期将从您购买付费计划的那一天开始,并在下个月的同一日期续订。因此,如果您想避免未来的费用,请提前取消订阅。
要升级您当前的订阅计划,只需转到 API 的定价页面并选择您要升级到的计划。升级将立即生效,让您立即享受新计划的功能。请注意,您之前计划中的任何剩余调用都不会转移到新计划,因此在升级时请注意这一点。您将被收取新计划的全部金额。
要检查您本月剩余多少 API 调用,请参考响应标头中的 "X-Zyla-API-Calls-Monthly-Remaining" 字段。例如,如果您的计划允许每月 1,000 个请求,而您已使用 100 个,则响应标头中的此字段将显示 900 个剩余调用。
要查看您的计划允许的最大 API 请求数,请检查 "X-Zyla-RateLimit-Limit" 响应标头。例如,如果您的计划包括每月 1,000 个请求,此标头将显示 1,000。
"X-Zyla-RateLimit-Reset" 标头显示您的速率限制重置之前的秒数。这告诉您何时您的请求计数将重新开始。例如,如果它显示 3,600,则意味着还有 3,600 秒直到限制重置。
是的,您可以随时通过访问您的账户并在账单页面上选择取消选项来取消您的计划。请注意,升级、降级和取消会立即生效。此外,取消后,您将不再有权访问该服务,即使您的配额中还有剩余调用。
为了让您有机会在没有任何承诺的情况下体验我们的 API,我们提供 7 天免费试用,允许您免费进行最多 50 次 API 调用。此试用只能使用一次,因此我们建议将其应用于您最感兴趣的 API。虽然我们的大多数 API 都提供免费试用,但有些可能不提供。试用在 7 天后或您进行了 50 次请求后结束,以先发生者为准。如果您在试用期间达到 50 次请求限制,您需要"开始您的付费计划"以继续发出请求。您可以在个人资料中的订阅 -> 选择您订阅的 API -> 定价标签下找到"开始您的付费计划"按钮。或者,如果您在第 7 天之前不取消订阅,您的免费试用将结束,您的计划将自动计费,授予您访问计划中指定的所有 API 调用的权限。请记住这一点以避免不必要的费用。
7 天后,您将被收取试用期间订阅的计划的全额费用。因此,在试用期结束前取消很重要。因忘记及时取消而提出的退款请求不被接受。
当您订阅 API 免费试用时,您可以进行最多 50 次 API 调用。如果您希望超出此限制进行额外的 API 调用,API 将提示您执行"开始您的付费计划"。您可以在个人资料中的订阅 -> 选择您订阅的 API -> 定价标签下找到"开始您的付费计划"按钮。
付款订单在每月 20 日至 30 日之间处理。如果您在 20 日之前提交请求,您的付款将在此时间范围内处理。
您可以通过我们的聊天渠道联系我们以获得即时帮助。我们始终在线,时间为上午 8 点至下午 5 点(EST)。如果您在该时间之后联系我们,我们将尽快回复您。此外,您可以通过 [email protected]