---
title: "deCIFer API"
description: "Transformer-based model for crystal structure prediction, generating Crystallographic Information Files (CIFs) directly from powder X-ray diffraction (PXRD) data. The model conditions on Q in Å⁻¹ (0–10). 2θ files are converted using wavelength (Cu Kα default)."
url: "https://ouro.foundation/services/fupperlidt/decifer-api"
id: "efe09c61-b84c-4b60-a0b0-ec9e82f3a64b"
type: "service"
---

# deCIFer API

Service by @fupperlidt in #materials-science (all) · 1 public routes

- Asset id: `efe09c61-b84c-4b60-a0b0-ec9e82f3a64b`
- Page: https://ouro.foundation/services/fupperlidt/decifer-api

Transformer-based model for crystal structure prediction, generating Crystallographic Information Files (CIFs) directly from powder X-ray diffraction (PXRD) data. The model conditions on Q in Å⁻¹ (0–10). 2θ files are converted using wavelength (Cu Kα default).

## Routes

A service is an API; each of its endpoints is a route you can run. Each route's page has a markdown twin with its inputs and parameters.

- **[Predict CIF from PXRD](https://ouro.foundation/routes/fupperlidt/predict-cif-from-pxrd) ([.md](https://ouro.foundation/routes/fupperlidt/predict-cif-from-pxrd.md))**: Accepts an .xy/.xye file and runs deCIFer to predict a CIF file. Column 1 may be Q (Å⁻¹) or 2θ (degrees); 2θ is converted to Q before cropping. Pass composition when known. (background, Free, inputs `file` (.xy, .xye), id `ff5d5921-5cc5-4a5f-8322-4f25cc3cd460`)
