### Get a list of all items using Crossref API Source: https://api.crossref.org/swagger-ui/index This example shows how to retrieve the first page of items from a Crossref API endpoint. It demonstrates a basic GET request to the 'works' endpoint. ```HTTP GET https://api.crossref.org/works ``` -------------------------------- ### Crossref API - Member Endpoint Example Source: https://api.crossref.org/swagger-ui/index This snippet illustrates querying the 'Members' endpoint of the Crossref REST API to retrieve information about Crossref member organizations. It includes a sample GET request. ```HTTP GET /members?query=example HTTP/1.1 Host: api.crossref.org ``` -------------------------------- ### Crossref API - DOI Resolution Example Source: https://api.crossref.org/swagger-ui/index This snippet shows how to use the Crossref REST API to resolve a DOI and retrieve associated metadata. It demonstrates a GET request to the 'works' endpoint with a specific DOI. ```HTTP GET /works/10.1000/example HTTP/1.1 Host: api.crossref.org ``` -------------------------------- ### Crossref API - Works Endpoint Example Source: https://api.crossref.org/swagger-ui/index This snippet demonstrates how to query the 'Works' endpoint of the Crossref REST API to retrieve metadata for scholarly works. It shows a basic GET request structure. ```HTTP GET /works?query=example HTTP/1.1 Host: api.crossref.org ``` -------------------------------- ### Crossref API - Get All Licenses Source: https://api.crossref.org/swagger-ui/index Retrieve a collection of licenses. This endpoint is part of the 'Licenses' resource collection. ```HTTP GET /licenses ``` -------------------------------- ### Get summary statistics with facet parameter using Crossref API Source: https://api.crossref.org/swagger-ui/index This example demonstrates how to get summary statistics from the 'works' endpoint using the 'facet' parameter. It allows retrieving counts for specific field values. ```HTTP GET https://api.crossref.org/v1/works?filter=from-pub-date:2020-01-10,until-pub-date:2020-01-10&facet=type-name:10 ``` -------------------------------- ### Set User-Agent header for Crossref API requests Source: https://api.crossref.org/swagger-ui/index This example shows how to set a User-Agent header in an API request, which is a best practice for identifying your script and being considerate of other users. ```Shell curl -A "YourAppName/1.0 (your@email.com)" https://api.crossref.org/works ``` -------------------------------- ### Make basic metadata queries using Crossref API Source: https://api.crossref.org/swagger-ui/index This example shows how to perform metadata queries on a Crossref API endpoint using the 'query' parameter. It allows searching for records where fields contain specific terms. ```HTTP GET https://api.crossref.org/v1/members?query=association+library ``` -------------------------------- ### Get a filtered list of items using Crossref API Source: https://api.crossref.org/swagger-ui/index This example illustrates how to retrieve a filtered list of items from a Crossref API endpoint. It uses the 'filter' parameter to specify criteria, such as location. ```HTTP GET https://api.crossref.org/v1/funders?filter=location:Switzerland ``` -------------------------------- ### Crossref API - Get Prefix by Prefix Source: https://api.crossref.org/swagger-ui/index Retrieve detailed information about a specific prefix. This endpoint is part of the 'Prefixes' resource collection. ```HTTP GET /prefixes/{prefix} ``` -------------------------------- ### Check existence of a singleton using HTTP HEAD request Source: https://api.crossref.org/swagger-ui/index This example shows how to use an HTTP HEAD request to quickly check for the existence of a specific record without retrieving its metadata. It returns only headers and a status code. ```Shell curl --head "https://api.crossref.org/members/98" ``` -------------------------------- ### Crossref API - Get All Works Source: https://api.crossref.org/swagger-ui/index Retrieve a collection of works. This endpoint is part of the 'Works' resource collection and supports pagination. ```HTTP GET /works ``` -------------------------------- ### Return an individual record using Crossref API Source: https://api.crossref.org/swagger-ui/index This example demonstrates how to fetch a specific record from the Crossref API by providing its unique identifier (e.g., DOI). It targets the 'works' endpoint with a specific ID. ```HTTP GET https://api.crossref.org/works/10.5555%2F12345678 ``` -------------------------------- ### Crossref API - Get All Types Source: https://api.crossref.org/swagger-ui/index Retrieve a collection of types. This endpoint is part of the 'Types' resource collection. ```HTTP GET /types ``` -------------------------------- ### Crossref API - Get Works by Prefix Source: https://api.crossref.org/swagger-ui/index Retrieve works associated with a specific prefix. This endpoint is part of the 'Prefixes' resource collection. ```HTTP GET /prefixes/{prefix}/works ``` -------------------------------- ### Crossref API - Get All Funders Source: https://api.crossref.org/swagger-ui/index Retrieve a collection of funders. This endpoint is part of the 'Funders' resource collection. ```HTTP GET /funders ``` -------------------------------- ### Crossref API - Get All Members Source: https://api.crossref.org/swagger-ui/index Retrieve a collection of members. This endpoint is part of the 'Members' resource collection. ```HTTP GET /members ``` -------------------------------- ### Retrieve a list with a specified number of items using Crossref API Source: https://api.crossref.org/swagger-ui/index This example demonstrates how to retrieve a list of items from a Crossref API endpoint and specify the maximum number of items to return using the 'rows' parameter. ```HTTP GET https://api.crossref.org/funders?rows=5 ``` -------------------------------- ### Crossref API - Get All Journals Source: https://api.crossref.org/swagger-ui/index Retrieve a collection of journals. This endpoint is part of the 'Journals' resource collection. ```HTTP GET /journals ``` -------------------------------- ### Crossref API - Error Response (429) Source: https://api.crossref.org/swagger-ui/index Example of an HTTP status code returned when rate limits are exceeded. Users should wait and retry the request at a lower rate or concurrency. ```HTTP HTTP/1.1 429 Too Many Requests ``` -------------------------------- ### Include mailto parameter for polite access to Crossref API Source: https://api.crossref.org/swagger-ui/index This example demonstrates how to include the 'mailto' parameter in a Crossref API request. This identifies your email address, allowing the Crossref team to contact you if issues arise. ```HTTP GET https://api.crossref.org/works?mailto=your@email.com ``` -------------------------------- ### Crossref API - Get Works by Type Source: https://api.crossref.org/swagger-ui/index Retrieve works associated with a specific type ID. This endpoint is part of the 'Types' resource collection. ```HTTP GET /types/{id}/works ``` -------------------------------- ### Crossref API - Get Funders by ID Source: https://api.crossref.org/swagger-ui/index Retrieve detailed information about a specific funder using its ID. This endpoint is part of the 'Funders' resource collection. ```HTTP GET /funders/{id} ``` -------------------------------- ### Crossref API - Get Works by DOI Source: https://api.crossref.org/swagger-ui/index Retrieve detailed information about a specific work using its DOI. This endpoint is part of the 'Works' resource collection. ```HTTP GET /works/{doi} ``` -------------------------------- ### Crossref API - Get Type by ID Source: https://api.crossref.org/swagger-ui/index Retrieve detailed information about a specific type using its ID. This endpoint is part of the 'Types' resource collection. ```HTTP GET /types/{id} ``` -------------------------------- ### Crossref API - Get Member by ID Source: https://api.crossref.org/swagger-ui/index Retrieve detailed information about a specific member using its ID. This endpoint is part of the 'Members' resource collection. ```HTTP GET /members/{id} ``` -------------------------------- ### Crossref API - Get Works by Funder ID Source: https://api.crossref.org/swagger-ui/index Retrieve works associated with a specific funder ID. This endpoint is part of the 'Funders' resource collection. ```HTTP GET /funders/{id}/works ``` -------------------------------- ### Crossref API - Get Deposit Data (Deprecated) Source: https://api.crossref.org/swagger-ui/index Retrieve deposit related data. Note: These endpoints will be deprecated in the near future. This endpoint is part of the 'Deposits' resource collection. ```HTTP GET /deposits ``` -------------------------------- ### Crossref API - Get Works by Member ID Source: https://api.crossref.org/swagger-ui/index Retrieve works associated with a specific member ID. This endpoint is part of the 'Members' resource collection. ```HTTP GET /members/{id}/works ``` -------------------------------- ### Crossref API - Get Works by Journal ISSN Source: https://api.crossref.org/swagger-ui/index Retrieve works associated with a specific journal ISSN. This endpoint is part of the 'Journals' resource collection. ```HTTP GET /journals/{issn}/works ``` -------------------------------- ### Crossref API - Get Works by DOI Agency Source: https://api.crossref.org/swagger-ui/index Retrieve agency information associated with a specific work identified by its DOI. This endpoint is part of the 'Works' resource collection. ```HTTP GET /works/{doi}/agency ``` -------------------------------- ### Crossref API - Get Journal by ISSN Source: https://api.crossref.org/swagger-ui/index Retrieve detailed information about a specific journal using its ISSN. This endpoint is part of the 'Journals' resource collection. ```HTTP GET /journals/{issn} ``` -------------------------------- ### Crossref API - Pagination with Cursor Source: https://api.crossref.org/swagger-ui/index Demonstrates how to paginate through large response sets using the 'cursor' parameter. Add `cursor=*` to the initial request and use the `next-cursor` value in subsequent requests. ```HTTP GET /resource?cursor=* GET /resource?cursor={next-cursor} ``` -------------------------------- ### Swagger UI for Crossref API Source: https://api.crossref.org/swagger-ui/index Swagger UI provides an interactive documentation interface for the Crossref API. It allows users to explore available endpoints, view request/response schemas, and test API calls directly from the browser. No specific programming language is required to use Swagger UI itself, but it's often used in conjunction with client libraries. ```HTML Swagger UI - Crossref API
``` -------------------------------- ### Crossref API - Rate Limit Headers Source: https://api.crossref.org/swagger-ui/index Illustrates the rate limit information provided in response headers. Includes `x-rate-limit-limit` for the maximum requests and `x-rate-limit-interval` for the time period. ```HTTP x-rate-limit-limit: 50 x-rate-limit-interval: second ``` -------------------------------- ### Crossref API - Crossref-commons Library (Python) Source: https://api.crossref.org/swagger-ui/index A Python library for interacting with the Crossref REST API, developed by Crossref. ```Python crossref-commons (Python, developed by Crossref) ``` -------------------------------- ### Crossref API - Crossrefapi Library (Go) Source: https://api.crossref.org/swagger-ui/index A Go library for interacting with the Crossref REST API. This library is not maintained or endorsed by Crossref. ```Go crossrefapi (Go) ``` -------------------------------- ### Crossref API - Mailto Parameter Recommendation Source: https://api.crossref.org/swagger-ui/index Recommendation to include a `mailto` parameter in all requests to facilitate contact in case of manual blocks or issues. ```HTTP mailto={your.email@example.com} ``` -------------------------------- ### Crossref API - Pitaya Library (Julia) Source: https://api.crossref.org/swagger-ui/index A Julia library for interacting with the Crossref REST API. This library is not maintained or endorsed by Crossref. ```Julia pitaya (Julia) ``` -------------------------------- ### Crossref API - Crossref-rs Library Source: https://api.crossref.org/swagger-ui/index A Rust library for interacting with the Crossref REST API. This library is not maintained or endorsed by Crossref. ```Rust crossref-rs ``` -------------------------------- ### Crossref API - Rcrossref Library (R) Source: https://api.crossref.org/swagger-ui/index An R library for interacting with the Crossref REST API. This library is not maintained or endorsed by Crossref. ```R rcrossref (R) ``` -------------------------------- ### Crossref API - Serrano Library (Ruby) Source: https://api.crossref.org/swagger-ui/index A Ruby library for interacting with the Crossref REST API. This library is not maintained or endorsed by Crossref. ```Ruby serrano (Ruby) ``` -------------------------------- ### Crossref API - Crossrefapi Library (Python) Source: https://api.crossref.org/swagger-ui/index A Python library for interacting with the Crossref REST API. This library is not maintained or endorsed by Crossref. ```Python crossrefapi (Python) ``` -------------------------------- ### Crossref API - Habanero Library (Python) Source: https://api.crossref.org/swagger-ui/index A Python library for interacting with the Crossref REST API. This library is not maintained or endorsed by Crossref. ```Python habanero (Python) ``` -------------------------------- ### Crossref API - Crossref API Typescript client Source: https://api.crossref.org/swagger-ui/index A Typescript client for the Crossref REST API. This library is not maintained or endorsed by Crossref. ```Typescript Crossref API Typescript client ``` -------------------------------- ### Crossref API - Server Error Status Source: https://api.crossref.org/swagger-ui/index Standard HTTP status codes indicating errors originating from the Crossref API server. ```HTTP 5XX Server Error ``` -------------------------------- ### SVG Path Data for UI Elements Source: https://api.crossref.org/swagger-ui/index This snippet contains SVG path data used to render various graphical elements within the Swagger UI interface. The data defines shapes and lines for interactive components. ```SVG ``` -------------------------------- ### Crossref API - Client Error Status Source: https://api.crossref.org/swagger-ui/index Standard HTTP status codes indicating errors originating from the client's request. ```HTTP 4XX Client Error ``` -------------------------------- ### Crossref API - Successful Response Status Source: https://api.crossref.org/swagger-ui/index The standard HTTP status code returned for successful queries to the Crossref API. ```HTTP HTTP/1.1 200 OK ``` -------------------------------- ### SVG Path Data for UI Elements Source: https://api.crossref.org/swagger-ui/index This snippet contains SVG path data used to draw various graphical elements. The paths define shapes, lines, and curves using a series of commands and coordinates. These are likely used for icons, buttons, or other visual components within the API Crossref Swagger UI. ```SVG ``` -------------------------------- ### Crossref API - Redirect Response Status Source: https://api.crossref.org/swagger-ui/index The HTTP status code returned when records are redirected, as detailed in the 'Changing or deleting DOIs' section. ```HTTP HTTP/1.1 301 Moved Permanently ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.