{"_id":"595f615f4a72f7002b249a9b","category":{"_id":"595f615d4a72f7002b249a74","version":"595f615d4a72f7002b249a70","project":"5613d8fc6a092921004c30b9","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-10-07T10:10:28.718Z","from_sync":false,"order":3,"slug":"integrators","title":"Developers"},"parentDoc":null,"project":"5613d8fc6a092921004c30b9","user":"5613d895443514170060dba9","version":{"_id":"595f615d4a72f7002b249a70","project":"5613d8fc6a092921004c30b9","__v":1,"createdAt":"2017-07-07T10:24:29.881Z","releaseDate":"2017-07-07T10:24:29.881Z","categories":["595f615d4a72f7002b249a71","595f615d4a72f7002b249a72","595f615d4a72f7002b249a73","595f615d4a72f7002b249a74","595f615d4a72f7002b249a75","595f615d4a72f7002b249a76","595f615d4a72f7002b249a77","595f615d4a72f7002b249a78","595f615d4a72f7002b249a79"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"PID Platform","version_clean":"2.0.0","version":"2.0"},"githubsync":"","__v":0,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-10-28T13:16:47.467Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":3,"body":"DOI metadata is available in many formats,  include Bibtex, Citeproc-JSON, RDF as well as XML and JSON specific to Crossref and Datacite.  Crossref and Datacite both support *content negotiation* enabling clients to request DOI metadata in the format most suitable to them.  \n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"External Documentation\"\n}\n[/block]\nSee the [full content negotiation documentation](http://crosscite.org/cn/) for more details.\n\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Example javascript\"\n}\n[/block]\nCrosscite-JSON is a convenient format as it's  usable out of the box by most languages and available from both Crossref and Datacite.  Here is an example, expressed as Crosscite-JSON:\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"{\\n  \\\"volume\\\" : \\\"169\\\",\\n  \\\"issue\\\" : \\\"3946\\\",\\n  \\\"DOI\\\" : \\\"10.1126/science.169.3946.635\\\",\\n  \\\"URL\\\" : \\\"http://dx.doi.org/10.1126/science.169.3946.635\\\",\\n  \\\"title\\\" : \\\"The Structure of Ordinary Water: New data and interpretations are \\n           yielding new insights into this fascinating substance\\\",\\n  \\\"container-title\\\" : \\\"Science\\\",\\n  \\\"publisher\\\" : \\\"American Association for the Advancement of Science AAAS (Science)\\\",\\n  \\\"issued\\\" : { \\\"date-parts\\\" : [ [ 1970,8,14 ] ] },\\n  \\\"author\\\" : [ { \\\"family\\\" : \\\"Frank\\\", \\\"given\\\" : \\\"H. S.\\\"} ],\\n  \\\"editor\\\" : [],\\n  \\\"page\\\" : \\\"635-641\\\",\\n  \\\"type\\\" : \\\"article-journal\\\"\\n}\",\n      \"language\": \"javascript\"\n    }\n  ]\n}\n[/block]\n\n[block:embed]\n{\n  \"html\": \"<iframe class=\\\"embedly-embed\\\" src=\\\"//cdn.embedly.com/widgets/media.html?url=http%3A%2F%2Fjsfiddle.net%2FTomDemeranville%2FgL4rzL5f%2F5%2F&src=%2F%2Fjsfiddle.net%2FTomDemeranville%2FgL4rzL5f%2F5%2Fembedded%2F&type=text%2Fhtml&key=02466f963b9b4bb8845a05b53d3235d7&schema=jsfiddle\\\" width=\\\"None\\\" height=\\\"300\\\" scrolling=\\\"no\\\" frameborder=\\\"0\\\" allowfullscreen></iframe>\",\n  \"url\": \"http://jsfiddle.net/TomDemeranville/gL4rzL5f/5/\",\n  \"title\": \"Edit fiddle - JSFiddle\",\n  \"favicon\": \"http://jsfiddle.net/favicon.png\"\n}\n[/block]","excerpt":"","slug":"accessing-doi-metadata","type":"basic","title":"Querying DOI metadata"}

Querying DOI metadata


DOI metadata is available in many formats, include Bibtex, Citeproc-JSON, RDF as well as XML and JSON specific to Crossref and Datacite. Crossref and Datacite both support *content negotiation* enabling clients to request DOI metadata in the format most suitable to them. [block:api-header] { "type": "basic", "title": "External Documentation" } [/block] See the [full content negotiation documentation](http://crosscite.org/cn/) for more details. [block:api-header] { "type": "basic", "title": "Example javascript" } [/block] Crosscite-JSON is a convenient format as it's usable out of the box by most languages and available from both Crossref and Datacite. Here is an example, expressed as Crosscite-JSON: [block:code] { "codes": [ { "code": "{\n \"volume\" : \"169\",\n \"issue\" : \"3946\",\n \"DOI\" : \"10.1126/science.169.3946.635\",\n \"URL\" : \"http://dx.doi.org/10.1126/science.169.3946.635\",\n \"title\" : \"The Structure of Ordinary Water: New data and interpretations are \n yielding new insights into this fascinating substance\",\n \"container-title\" : \"Science\",\n \"publisher\" : \"American Association for the Advancement of Science AAAS (Science)\",\n \"issued\" : { \"date-parts\" : [ [ 1970,8,14 ] ] },\n \"author\" : [ { \"family\" : \"Frank\", \"given\" : \"H. S.\"} ],\n \"editor\" : [],\n \"page\" : \"635-641\",\n \"type\" : \"article-journal\"\n}", "language": "javascript" } ] } [/block] [block:embed] { "html": "<iframe class=\"embedly-embed\" src=\"//cdn.embedly.com/widgets/media.html?url=http%3A%2F%2Fjsfiddle.net%2FTomDemeranville%2FgL4rzL5f%2F5%2F&src=%2F%2Fjsfiddle.net%2FTomDemeranville%2FgL4rzL5f%2F5%2Fembedded%2F&type=text%2Fhtml&key=02466f963b9b4bb8845a05b53d3235d7&schema=jsfiddle\" width=\"None\" height=\"300\" scrolling=\"no\" frameborder=\"0\" allowfullscreen></iframe>", "url": "http://jsfiddle.net/TomDemeranville/gL4rzL5f/5/", "title": "Edit fiddle - JSFiddle", "favicon": "http://jsfiddle.net/favicon.png" } [/block]