{"_id":"5630cabfeae7ef0d00270dae","parentDoc":null,"__v":18,"version":{"_id":"5613d8fc6a092921004c30bc","__v":10,"project":"5613d8fc6a092921004c30b9","createdAt":"2015-10-06T14:21:48.908Z","releaseDate":"2015-10-06T14:21:48.908Z","categories":["5613d8fd6a092921004c30bd","5614ef94a4ccab0d00e698b5","5614ef9abeee6f0d009df1a2","5614efb2a4ccab0d00e698b6","5624cb406ff1010d009b1611","5624ce8772ac510d00e4918b","5624e1195a86b423009462ec","568e68490844350d002ffa47","568e6b010844350d002ffa4a","568e6b65d892e80d00a5d37a"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"category":{"_id":"5614ef94a4ccab0d00e698b5","project":"5613d8fc6a092921004c30b9","version":"5613d8fc6a092921004c30bc","__v":15,"pages":["5614effea4ccab0d00e698b7","5614f0564c7b1c0d00fc3026","5614f07adc11550d00045672","5614f08ef8f2890d006d9f69","5614f09fbeee6f0d009df1a5","5624cadd5a86b423009462c0","5624cc235a86b423009462c6","5630ad2fc3a8150d00fb793a","5630cabfeae7ef0d00270dae","56379bacdf54e41900d3a0aa","568e6c9dd74a0d0d00905ec9","568f8ab5beb2700d00471892","568f953394c5030d00288087","568fe2ce4719c119002ce60b","569667d6b6d61f0d00acfae8"],"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-10-07T10:10:28.718Z","from_sync":false,"order":3,"slug":"integrators","title":"Integrators"},"project":"5613d8fc6a092921004c30b9","user":"5613d895443514170060dba9","updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-10-28T13:16:47.467Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":4,"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]