{
 "openapi": "3.1.0",
 "info": {
  "title": "Jobs Every Hour jobs API",
  "version": "1",
  "description": "Open jobs collected hourly from employers' official careers pages. Read-only JSON files, no key, CORS enabled. Updated 2026-11-23."
 },
 "servers": [
  {
   "url": "https://jobseveryhour.com"
  }
 ],
 "paths": {
  "/api/v1/index.json": {
   "get": {
    "operationId": "listFeeds",
    "summary": "Every feed that exists (skills, categories, locations, companies) with its address and job count",
    "responses": {
     "200": {
      "description": "Feed directory",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/api/v1/latest.json": {
   "get": {
    "operationId": "latestJobs",
    "summary": "The newest open jobs",
    "parameters": [],
    "responses": {
     "200": {
      "description": "A list of open jobs, newest first",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/Feed"
        }
       }
      }
     },
     "404": {
      "description": "No such feed"
     }
    }
   }
  },
  "/api/v1/remote.json": {
   "get": {
    "operationId": "remoteJobs",
    "summary": "The newest remote jobs",
    "parameters": [],
    "responses": {
     "200": {
      "description": "A list of open jobs, newest first",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/Feed"
        }
       }
      }
     },
     "404": {
      "description": "No such feed"
     }
    }
   }
  },
  "/api/v1/skills/{slug}.json": {
   "get": {
    "operationId": "jobsBySkill",
    "summary": "Open jobs that ask for a skill",
    "parameters": [
     {
      "name": "slug",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      },
      "description": "Lowercase skill slug as listed in /api/v1/index.json, for example python"
     }
    ],
    "responses": {
     "200": {
      "description": "A list of open jobs, newest first",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/Feed"
        }
       }
      }
     },
     "404": {
      "description": "No such feed"
     }
    }
   }
  },
  "/api/v1/categories/{slug}.json": {
   "get": {
    "operationId": "jobsByCategory",
    "summary": "Open jobs in a category",
    "parameters": [
     {
      "name": "slug",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      },
      "description": "Lowercase category slug as listed in /api/v1/index.json, for example engineering"
     }
    ],
    "responses": {
     "200": {
      "description": "A list of open jobs, newest first",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/Feed"
        }
       }
      }
     },
     "404": {
      "description": "No such feed"
     }
    }
   }
  },
  "/api/v1/locations/{slug}.json": {
   "get": {
    "operationId": "jobsByLocation",
    "summary": "Open jobs in a country, region or city",
    "parameters": [
     {
      "name": "slug",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      },
      "description": "Lowercase location slug as listed in /api/v1/index.json, for example europe"
     }
    ],
    "responses": {
     "200": {
      "description": "A list of open jobs, newest first",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/Feed"
        }
       }
      }
     },
     "404": {
      "description": "No such feed"
     }
    }
   }
  },
  "/api/v1/companies/{slug}.json": {
   "get": {
    "operationId": "jobsByCompany",
    "summary": "Open jobs at one company",
    "parameters": [
     {
      "name": "slug",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      },
      "description": "Lowercase company slug as listed in /api/v1/index.json, for example stripe"
     }
    ],
    "responses": {
     "200": {
      "description": "A list of open jobs, newest first",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/Feed"
        }
       }
      }
     },
     "404": {
      "description": "No such feed"
     }
    }
   }
  }
 },
 "components": {
  "schemas": {
   "Feed": {
    "type": "object",
    "properties": {
     "name": {
      "type": "string"
     },
     "url": {
      "type": "string",
      "format": "uri"
     },
     "site": {
      "type": "string"
     },
     "updated": {
      "type": "string",
      "format": "date"
     },
     "total": {
      "type": "integer",
      "description": "All open jobs matching the feed; the list holds the newest ones"
     },
     "jobs": {
      "type": "array",
      "items": {
       "type": "object",
       "properties": {
        "title": {
         "type": "string"
        },
        "category": {
         "type": "string"
        },
        "company": {
         "type": "string"
        },
        "location": {
         "type": "string"
        },
        "remote": {
         "type": "boolean"
        },
        "salary": {
         "type": "string",
         "description": "Advertised range as published by the employer, empty if none"
        },
        "posted": {
         "type": "string",
         "format": "date"
        },
        "url": {
         "type": "string",
         "format": "uri",
         "description": "The job's page; the apply button there leads to the employer's own site"
        },
        "logo": {
         "type": "string"
        }
       }
      }
     }
    }
   }
  }
 }
}