{
  "openapi": "3.0.1",
  "info": {
    "title": "DOAJ API: Open Access Journals & Articles, $1/1K",
    "description": "Search the Directory of Open Access Journals (DOAJ): journals by keyword, subject, country, language, APC and licence, articles by keyword, ISSN and year, or look up ISSN and DOI lists. $1 per 1,000 records. No API key.",
    "version": "0.1",
    "x-build-id": "UzCafbS90IcSJQAGt"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/conserving_celerytop~doaj-open-access-api/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-conserving_celerytop-doaj-open-access-api",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/conserving_celerytop~doaj-open-access-api/runs": {
      "post": {
        "operationId": "runs-sync-conserving_celerytop-doaj-open-access-api",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/conserving_celerytop~doaj-open-access-api/run-sync": {
      "post": {
        "operationId": "run-sync-conserving_celerytop-doaj-open-access-api",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "mode": {
            "title": "What to get",
            "enum": [
              "search_journals",
              "search_articles",
              "journals_by_issn",
              "articles_by_doi"
            ],
            "type": "string",
            "description": "Search open access journals, search articles, look up journals from a list of ISSNs, or look up articles from a list of DOIs.",
            "default": "search_journals"
          },
          "keyword": {
            "title": "Keyword",
            "type": "string",
            "description": "Words to search for, such as public health. All words must match. Put a phrase in double quotes to match it exactly. Used in the two search modes."
          },
          "maxRows": {
            "title": "Maximum results",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Stop after this many records. Each record is one charged event. DOAJ serves at most 1,000 records for one search, so split larger jobs with filters such as a year range. Lookup modes can return more, up to 10,000.",
            "default": 100
          },
          "subject": {
            "title": "Subject (journals)",
            "type": "string",
            "description": "Journal search only: keep journals with this subject, spelled as in the Library of Congress classification used by DOAJ, such as Medicine or Computer software. Leave empty for any subject."
          },
          "country": {
            "title": "Publisher country (journals)",
            "type": "string",
            "description": "Journal search only: country of the publisher, as a name such as Israel or a two-letter code such as IL. Leave empty for any country."
          },
          "language": {
            "title": "Journal language (journals)",
            "type": "string",
            "description": "Journal search only: language of the full text, as a name such as Spanish or a two-letter code such as ES. Leave empty for any language."
          },
          "hasApc": {
            "title": "Article processing charge (journals)",
            "enum": [
              "any",
              "yes",
              "no"
            ],
            "type": "string",
            "description": "Journal search only: keep journals that charge authors a fee (yes), journals that do not (no), or both.",
            "default": "any"
          },
          "licence": {
            "title": "Licence (journals)",
            "enum": [
              "",
              "CC BY",
              "CC BY-SA",
              "CC BY-ND",
              "CC BY-NC",
              "CC BY-NC-SA",
              "CC BY-NC-ND",
              "CC0",
              "Public domain",
              "Publisher's own license"
            ],
            "type": "string",
            "description": "Journal search only: keep journals that use this licence. Leave on Any licence for all.",
            "default": ""
          },
          "journalIssns": {
            "title": "Journal ISSNs (articles)",
            "type": "array",
            "description": "Article search only: keep articles from these journals, one ISSN per line, such as 1932-6203. Print and electronic ISSNs both work. Leave empty for all journals.",
            "items": {
              "type": "string"
            }
          },
          "yearFrom": {
            "title": "Year from (articles)",
            "minimum": 1000,
            "maximum": 2100,
            "type": "integer",
            "description": "Article search only: keep articles published in this year or later, such as 2020. Leave empty for no start year."
          },
          "yearTo": {
            "title": "Year to (articles)",
            "minimum": 1000,
            "maximum": 2100,
            "type": "integer",
            "description": "Article search only: keep articles published in this year or earlier, such as 2024. Leave empty for no end year."
          },
          "issns": {
            "title": "ISSNs",
            "type": "array",
            "description": "Look-up by ISSN mode only: one ISSN per line, such as 2518-8526. Print and electronic ISSNs both work. An ISSN that is not in DOAJ gives a free row.",
            "items": {
              "type": "string"
            }
          },
          "dois": {
            "title": "DOIs",
            "type": "array",
            "description": "Look-up by DOI mode only: one DOI per line, such as 10.1371/journal.pone.0257164. A link starting with https://doi.org/ also works. A DOI that is not in DOAJ gives a free row.",
            "items": {
              "type": "string"
            }
          },
          "sortBy": {
            "title": "Sort order",
            "enum": [
              "relevance",
              "added_newest",
              "added_oldest",
              "title"
            ],
            "type": "string",
            "description": "Order of search results. Relevance puts the best match first. Date added orders by the day the record entered DOAJ.",
            "default": "relevance"
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}