# searchOpenalexSources

**Identifier:** `openalex_searchOpenalexSources`

**Provider:** [OpenAlex](https://kirha.com/providers/openalex.md)

Search journals, preprint repositories, and conferences. Use returned IDs to filter works by source in searchOpenalexWorks.

## Run it with the CLI

```bash
kirha tools run openalex_searchOpenalexSources \
  --input '{}'
```

`--input` takes a JSON object that matches the input schema. Pass `--input -` to read it from stdin.

## Call it over HTTP

```bash
curl https://api.kirha.com/tools/v1/execute \
  --request POST \
  --header 'Content-Type: application/json' \
  --header 'Authorization: **********' \
  --data '{
  "tool_name": "openalex_searchOpenalexSources",
  "input": {}
}'
```

Replace the stars with an API key from https://app.kirha.com/api-keys.

## Input schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "countryCode": {
      "description": "ISO 3166-1 alpha-2, e.g. US, FR",
      "type": "string"
    },
    "isInDoaj": {
      "type": "boolean"
    },
    "isOa": {
      "type": "boolean"
    },
    "page": {
      "default": 1,
      "maximum": 500,
      "minimum": 1,
      "type": "number"
    },
    "perPage": {
      "default": 10,
      "maximum": 50,
      "minimum": 1,
      "type": "number"
    },
    "search": {
      "type": "string"
    },
    "sort": {
      "enum": [
        "relevance",
        "cited_by_count",
        "works_count"
      ],
      "type": "string"
    },
    "type": {
      "enum": [
        "journal",
        "repository",
        "conference",
        "book series",
        "ebook platform",
        "metadata"
      ],
      "type": "string"
    }
  },
  "type": "object"
}
```

## Output schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "context": {
      "type": "string"
    },
    "ids": {
      "description": "Source IDs for use with searchOpenalexWorks sourceIds filter",
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "sources": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "apcUsd": {
            "type": "number"
          },
          "citedByCount": {
            "type": "number"
          },
          "country": {
            "type": "string"
          },
          "hIndex": {
            "type": "number"
          },
          "id": {
            "type": "string"
          },
          "isInDoaj": {
            "type": "boolean"
          },
          "isOa": {
            "type": "boolean"
          },
          "issn": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "publisher": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "worksCount": {
            "type": "number"
          }
        },
        "required": [
          "id",
          "name"
        ],
        "type": "object"
      },
      "type": "array"
    },
    "totalCount": {
      "type": "number"
    }
  },
  "required": [
    "context",
    "totalCount",
    "ids",
    "sources"
  ],
  "type": "object"
}
```

## Related tools

Other OpenAlex tools that this tool refers to, or that refer to it.

- [`searchOpenalexWorks`](https://kirha.com/providers/openalex/searchOpenalexWorks.md)

-----

[All OpenAlex tools](https://kirha.com/providers/openalex.md) · [< Back to tools list](https://kirha.com/tools.md)